This is restricted to single use loads, which if we fold to sextloads we can find more optimal addressing modes on AArch64.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM with a couple nits on comments
(I can totally imagine typing "InReg" all of the time instead of "Inreg" and getting annoyed, but that may be a personal fault.)
llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp | ||
---|---|---|
618 | I don't think we need Doxygen comments here? | |
665 | Comment is weird here? | |
668 | I don't think we do this everywhere in the combiner. Should we be doing this everywhere? (We should probably be doing this everywhere.) |
llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp | ||
---|---|---|
669 | Should get the function from the builder |
I don't think we need Doxygen comments here?