[llvm] c79a366 - [InstSimplify] update test; NFC
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Fri May 1 07:12:12 PDT 2020
Author: Sanjay Patel
Date: 2020-05-01T10:06:56-04:00
New Revision: c79a366ec0f87eafca123138b550b039618bf880
URL: https://github.com/llvm/llvm-project/commit/c79a366ec0f87eafca123138b550b039618bf880
DIFF: https://github.com/llvm/llvm-project/commit/c79a366ec0f87eafca123138b550b039618bf880.diff
LOG: [InstSimplify] update test; NFC
Missed this test diff when committing:
rG5486e00dc3
Added:
Modified:
llvm/test/Transforms/InstSimplify/vscale.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/InstSimplify/vscale.ll b/llvm/test/Transforms/InstSimplify/vscale.ll
index 608a093a40aa..669c824685e8 100644
--- a/llvm/test/Transforms/InstSimplify/vscale.ll
+++ b/llvm/test/Transforms/InstSimplify/vscale.ll
@@ -17,7 +17,8 @@ define <vscale x 4 x i32> @insertelement_idx_undef(<vscale x 4 x i32> %a) {
define <vscale x 4 x i32> @insertelement_value_undef(<vscale x 4 x i32> %a) {
; CHECK-LABEL: @insertelement_value_undef(
-; CHECK-NEXT: ret <vscale x 4 x i32> [[A:%.*]]
+; CHECK-NEXT: [[R:%.*]] = insertelement <vscale x 4 x i32> [[A:%.*]], i32 undef, i64 0
+; CHECK-NEXT: ret <vscale x 4 x i32> [[R]]
;
%r = insertelement <vscale x 4 x i32> %a, i32 undef, i64 0
ret <vscale x 4 x i32> %r
More information about the llvm-commits
mailing list