aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-08-25 01:00:22 +0000
committerChris Lattner <sabre@nondot.org>2007-08-25 01:00:22 +0000
commitdad577b42d1c678d0181fbd831d51c8a4f547bd3 (patch)
tree32ae21f29093e209c4e27beb852b1f31b201f666 /test
parentedea5b3ad1b5b82d9cc118119e8e64b2b4db3509 (diff)
downloadexternal_llvm-dad577b42d1c678d0181fbd831d51c8a4f547bd3.zip
external_llvm-dad577b42d1c678d0181fbd831d51c8a4f547bd3.tar.gz
external_llvm-dad577b42d1c678d0181fbd831d51c8a4f547bd3.tar.bz2
Allow target constants to be illegal types. The target should
know how to handle them. This fixes test/CodeGen/Generic/asm-large-immediate.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41388 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/Generic/asm-large-immediate.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/Generic/asm-large-immediate.ll b/test/CodeGen/Generic/asm-large-immediate.ll
new file mode 100644
index 0000000..7064913
--- /dev/null
+++ b/test/CodeGen/Generic/asm-large-immediate.ll
@@ -0,0 +1,8 @@
+; RUN: llvm-as < %s | llc | grep 68719476738
+
+define void @test() {
+entry:
+ tail call void asm sideeffect "/* result: ${0:c} */", "i,~{dirflag},~{fpsr},~{flags}"( i64 68719476738 )
+ ret void
+}
+