diff options
Diffstat (limited to 'test/Transforms/InstCombine/2007-04-08-SingleEltVectorCrash.ll')
-rw-r--r-- | test/Transforms/InstCombine/2007-04-08-SingleEltVectorCrash.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/2007-04-08-SingleEltVectorCrash.ll b/test/Transforms/InstCombine/2007-04-08-SingleEltVectorCrash.ll new file mode 100644 index 0000000..22eb2c2 --- /dev/null +++ b/test/Transforms/InstCombine/2007-04-08-SingleEltVectorCrash.ll @@ -0,0 +1,7 @@ +; RUN: opt < %s -instcombine -disable-output +; PR1304 + +define i64 @bork(<1 x i64> %vec) { + %tmp = extractelement <1 x i64> %vec, i32 0 + ret i64 %tmp +} |