[all-commits] [llvm/llvm-project] 0f0905: [NFC][InstCombine] Add test for one-use one-index ...
clin111 via All-commits
all-commits at lists.llvm.org
Thu Aug 19 10:04:20 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0f0905605e52887eb05a08df4e3c89c617efaa70
https://github.com/llvm/llvm-project/commit/0f0905605e52887eb05a08df4e3c89c617efaa70
Author: Chang-Sun Lin, Jr <chang-sun.lin.jr at intel.com>
Date: 2021-08-19 (Thu, 19 Aug 2021)
Changed paths:
M llvm/test/Transforms/InstCombine/gep-combine-loop-invariant.ll
Log Message:
-----------
[NFC][InstCombine] Add test for one-use one-index geps in different loops
Commit: 9cae598f8b647bccab357c4457a67ec0ed424611
https://github.com/llvm/llvm-project/commit/9cae598f8b647bccab357c4457a67ec0ed424611
Author: Chang-Sun Lin, Jr <chang-sun.lin.jr at intel.com>
Date: 2021-08-19 (Thu, 19 Aug 2021)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/test/Transforms/InstCombine/gep-combine-loop-invariant.ll
Log Message:
-----------
[InstCombine] Avoid folding GEPs across loop boundaries
Folding a GEP from outside to inside a loop will materialize an add where there wasn't an equivalent operation before. Check the containing loops before making this fold.
Reviewed By: lebedev.ri
Differential Revision: https://reviews.llvm.org/D107935
Compare: https://github.com/llvm/llvm-project/compare/33d44b762e65...9cae598f8b64
More information about the All-commits
mailing list