tensorflow / mlir

"Multi-Level Intermediate Representation" Compiler Infrastructure
1.74k stars 259 forks source link

Integer right shift #153

Closed ombre5733 closed 4 years ago

ombre5733 commented 5 years ago

MLIR has already a std.shlis op but no lowering to LLVM. This commit adds the lowering and complements std.shlis by std.shris and std.shriu. The latter ones are lowered to llvm.ashr and llvm.lshr.

ombre5733 commented 4 years ago

Closing this in favor of #226.