[llvm] [LV][NFC] Remove undef values in some test cases (PR #164401)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 29 23:55:48 PDT 2025


================
@@ -449,7 +411,7 @@ for.cond.cleanup28:
 
 for.body29:
   %i24.0170 = phi i16 [ 0, %entry], [ %inc37, %for.body29]
-  %add33 = add i16 undef, %i24.0170
----------------
lukel97 wrote:

It looks like this removes a SCEV check in the NPGSO check lines even though it was branching on undef. It looks like this was originally testing that we don't assert when emitting a SCEV check, can we preserve that if we plumb through a function argument instead?

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


More information about the llvm-commits mailing list