aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2009-07-18 19:04:16 +0000
committerEli Friedman <eli.friedman@gmail.com>2009-07-18 19:04:16 +0000
commit76e7ba893fecd35422719acad5ab19af09bf4139 (patch)
treeffff08cd0db9dbd9c37914599327f98a43fd6d73 /test/Transforms
parent93f2491cf832e3f4530fab8ce1755c2b501346ae (diff)
downloadexternal_llvm-76e7ba893fecd35422719acad5ab19af09bf4139.zip
external_llvm-76e7ba893fecd35422719acad5ab19af09bf4139.tar.gz
external_llvm-76e7ba893fecd35422719acad5ab19af09bf4139.tar.bz2
Back out 76300; apparently the preference is to canonicalize the other
way (bitcast -> insert/extractelement). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76325 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms')
-rw-r--r--test/Transforms/InstCombine/vec-single-elt.ll12
1 files changed, 0 insertions, 12 deletions
diff --git a/test/Transforms/InstCombine/vec-single-elt.ll b/test/Transforms/InstCombine/vec-single-elt.ll
deleted file mode 100644
index 45bca42..0000000
--- a/test/Transforms/InstCombine/vec-single-elt.ll
+++ /dev/null
@@ -1,12 +0,0 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep element
-; insert/extractelement should canonicalize to bitcast
-
-define i64 @a(<1 x i64> %x) {
- %r = extractelement <1 x i64> %x, i32 0
- ret i64 %r
-}
-
-define <1 x i64> @b(i64 %x) {
- %r = insertelement <1 x i64> undef, i64 %x, i32 0
- ret <1 x i64> %r
-}