When element size is 1, it's just wasteful to create MUL with 1.
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D41738
[GISel]: Don't create G_MUL with 1 during translation of GetElementPtr ClosedPublic Authored by aditya_nandakumar on Jan 4 2018, 12:44 PM.
Details
Diff Detail
Revision Contents
Diff 128638 lib/CodeGen/GlobalISel/IRTranslator.cpp
test/CodeGen/AArch64/GlobalISel/translate-gep.ll
|