summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/2011-12-06-BitcastVectorGlobal.ll
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-12-07 00:50:54 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-12-07 00:50:54 +0000
commited8b3e38ec48ffb465c9cea62a8de9af90d71afd (patch)
tree38a2fde08361cc488c95dc5cd92441b829e8c874 /llvm/test/CodeGen/X86/2011-12-06-BitcastVectorGlobal.ll
parent42d3af9d95370a9ff3844079966a34f23384ed55 (diff)
downloadbcm5719-llvm-ed8b3e38ec48ffb465c9cea62a8de9af90d71afd.tar.gz
bcm5719-llvm-ed8b3e38ec48ffb465c9cea62a8de9af90d71afd.zip
Support vector bitcasts in the AsmPrinter. PR11495.
llvm-svn: 146001
Diffstat (limited to 'llvm/test/CodeGen/X86/2011-12-06-BitcastVectorGlobal.ll')
-rw-r--r--llvm/test/CodeGen/X86/2011-12-06-BitcastVectorGlobal.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/2011-12-06-BitcastVectorGlobal.ll b/llvm/test/CodeGen/X86/2011-12-06-BitcastVectorGlobal.ll
new file mode 100644
index 00000000000..7a4126f4ae2
--- /dev/null
+++ b/llvm/test/CodeGen/X86/2011-12-06-BitcastVectorGlobal.ll
@@ -0,0 +1,5 @@
+; RUN: llc < %s -march=x86-64 | FileCheck %s
+; PR11495
+
+; CHECK: 1311768467463790320
+@v = global <2 x float> bitcast (<1 x i64> <i64 1311768467463790320> to <2 x float>), align 8
OpenPOWER on IntegriCloud