Implement FoldImmediate for only integer aritihmetic operations.
Add regression tests also.
Details
Details
- Reviewers
simoll k-ishizaka - Commits
- rGdd6f607ea8e7: [VE] Implement FoldImmediate
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D91150
[VE] Implement FoldImmediate ClosedPublic Authored by kaz7 on Nov 10 2020, 4:30 AM.
Details
Summary Implement FoldImmediate for only integer aritihmetic operations.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 10 2020, 6:51 AM This revision was landed with ongoing or failed builds.Nov 10 2020, 3:08 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 304335 llvm/lib/Target/VE/VE.h
llvm/lib/Target/VE/VEISelDAGToDAG.cpp
llvm/lib/Target/VE/VEInstrInfo.h
llvm/lib/Target/VE/VEInstrInfo.cpp
llvm/lib/Target/VE/VEInstrInfo.td
llvm/test/CodeGen/VE/Scalar/atomic_load.ll
llvm/test/CodeGen/VE/Scalar/atomic_store.ll
llvm/test/CodeGen/VE/Scalar/br_cc.ll
llvm/test/CodeGen/VE/Scalar/cast.ll
llvm/test/CodeGen/VE/Scalar/ctlz.ll
llvm/test/CodeGen/VE/Scalar/cttz.ll
llvm/test/CodeGen/VE/Scalar/fold-imm-addsl.mir
llvm/test/CodeGen/VE/Scalar/fold-imm-cmpsl.mir
llvm/test/CodeGen/VE/Scalar/int_to_fp.ll
llvm/test/CodeGen/VE/Scalar/select_cc.ll
llvm/test/CodeGen/VE/Scalar/setcc.ll
|