[PATCH] D37209: [LSR] Fix Shadow IV in case of integer overflow

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 28 21:44:34 PDT 2017


mkazantsev added inline comments.


================
Comment at: test/Transforms/LoopStrengthReduce/X86/2008-08-14-ShadowIV.ll:66
 	tail call void @foo( double %2 ) nounwind
 	add i32 %i.03, 1		; <i32>:3 [#uses=2]
 	tail call i32 (...) @nn( ) nounwind		; <i32>:4 [#uses=1]
----------------
reames wrote:
> Is this even valid IR?  I don't see a value being assigned here?  Unless this is just wrapping really weirdly?
Guess that the unnamed variables are called `%1`, `%2` etc.


https://reviews.llvm.org/D37209





More information about the llvm-commits mailing list