[llvm] [InstCombine] Make foldCmpLoadFromIndexedGlobal more resiliant to non-array geps. (PR #150639)
Madhur Amilkanthwar via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 6 23:18:43 PDT 2025
madhur13490 wrote:
Hi @davemgreen
Some tests are failing in one of our internal test suites. I have reduced the test to the IR: https://godbolt.org/z/a4W18rdsn
The phi node is getting replaced with a branch that eventually leads to an infinite loop. The test run faults with "Invalid Instruction" on Neoverse-V2 platform.
Can you please have a look and let me know if this can be fixed?
https://github.com/llvm/llvm-project/pull/150639
More information about the llvm-commits
mailing list