aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2020-05-01 10:06:02 -0400
committerSanjay Patel <spatel@rotateright.com>2020-05-01 10:06:56 -0400
commitc79a366ec0f87eafca123138b550b039618bf880 (patch)
treebda5718719c99437383bd590c9faca4e35e04787
parentb953e9060e282442d04ae0b8725eaa4d851983db (diff)
downloadllvm-c79a366ec0f87eafca123138b550b039618bf880.zip
llvm-c79a366ec0f87eafca123138b550b039618bf880.tar.gz
llvm-c79a366ec0f87eafca123138b550b039618bf880.tar.bz2
[InstSimplify] update test; NFC
Missed this test diff when committing: rG5486e00dc3
-rw-r--r--llvm/test/Transforms/InstSimplify/vscale.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/Transforms/InstSimplify/vscale.ll b/llvm/test/Transforms/InstSimplify/vscale.ll
index 608a093..669c824 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