diff options
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/Transforms/InstCombine/select_meta.ll | 2 | ||||
-rw-r--r-- | llvm/test/Transforms/LoopVectorize/reduction.ll | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Transforms/InstCombine/select_meta.ll b/llvm/test/Transforms/InstCombine/select_meta.ll index d11b8310c3d..28caac45f96 100644 --- a/llvm/test/Transforms/InstCombine/select_meta.ll +++ b/llvm/test/Transforms/InstCombine/select_meta.ll @@ -7,7 +7,7 @@ define i32 @foo(i32) local_unnamed_addr #0 { ; CHECK-LABEL: @foo( ; CHECK-NEXT: [[TMP2:%.*]] = icmp sgt i32 %0, 2 ; CHECK-NEXT: [[DOTV:%.*]] = select i1 [[TMP2]], i32 20, i32 -20, !prof ![[$MD1:[0-9]+]] -; CHECK-NEXT: [[TMP3:%.*]] = add i32 [[DOTV]], %0 +; CHECK-NEXT: [[TMP3:%.*]] = add nsw i32 [[DOTV]], %0 ; CHECK-NEXT: ret i32 [[TMP3]] ; %2 = icmp sgt i32 %0, 2 diff --git a/llvm/test/Transforms/LoopVectorize/reduction.ll b/llvm/test/Transforms/LoopVectorize/reduction.ll index 994ea03e39a..1246cd5ca82 100644 --- a/llvm/test/Transforms/LoopVectorize/reduction.ll +++ b/llvm/test/Transforms/LoopVectorize/reduction.ll @@ -325,7 +325,7 @@ for.end: ; preds = %for.body, %entry ; We can vectorize conditional reductions with multi-input phis. ; CHECK: reduction_conditional -; CHECK: fadd <4 x float> +; CHECK: fadd fast <4 x float> define float @reduction_conditional(float* %A, float* %B, float* %C, float %S) { entry: |