[PATCH] D132022: [SCEVExpander] Drop poison-generating flags on hoisting. PR57187

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 18 10:57:17 PDT 2022


fhahn added inline comments.


================
Comment at: llvm/test/Transforms/IndVarSimplify/X86/pr57187.ll:39
   %iv.zext = zext i32 %iv to i64
   %gep = getelementptr inbounds i64, i64 addrspace(1)* undef, i64 %iv.zext
   %iv.next = add i32 %iv, -1
----------------
using an `addresspace(1)` pointer here has the unfortunate side effect that `Alive2` cannot handle the code. It would probably be good to remove at least `addrspace(1)` here and maybe even better to just use a function call as use.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132022/new/

https://reviews.llvm.org/D132022



More information about the llvm-commits mailing list