diff options
author | Chris Lattner <sabre@nondot.org> | 2007-08-25 01:00:22 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-08-25 01:00:22 +0000 |
commit | 09ec1b058331aadb29a348091611d23892b5c492 (patch) | |
tree | 32ae21f29093e209c4e27beb852b1f31b201f666 /test/CodeGen/Generic/asm-large-immediate.ll | |
parent | 4a69da9cb01bae8f90c444722afa51f15d067ea4 (diff) | |
download | llvm-09ec1b058331aadb29a348091611d23892b5c492.tar.gz llvm-09ec1b058331aadb29a348091611d23892b5c492.tar.bz2 llvm-09ec1b058331aadb29a348091611d23892b5c492.tar.xz |
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/CodeGen/Generic/asm-large-immediate.ll')
-rw-r--r-- | test/CodeGen/Generic/asm-large-immediate.ll | 8 |
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 0000000000..7064913371 --- /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 +} + |