[llvm] [instCombine][bugfix] Fix crash caused by using of cast in instCombineSVECmpNE (PR #102472)

Paul Walker via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 8 07:40:56 PDT 2024


https://github.com/paulwalker-arm commented:

Fix looks good but the test case can be significantly reduced.  It looks like you can just  add to `llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-cmpne.ll` by cloning `dupq_b_0` as `dupq_b_idx` whereby it takes an `%idx` function parameter that it uses when calling `sve.dupq.lane`.

https://github.com/llvm/llvm-project/pull/102472


More information about the llvm-commits mailing list