aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/x86-64-dead-stack-adjust.ll
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2013-01-06 20:39:29 +0000
committerCraig Topper <craig.topper@gmail.com>2013-01-06 20:39:29 +0000
commitf564a9389da68266f44314fe38ab399fd2211134 (patch)
treea45d4cbded5f756f85763884ebf09a8bf11449b7 /test/CodeGen/X86/x86-64-dead-stack-adjust.ll
parent700843ec2c4cb4aa442377809c6ebb3ae3030c61 (diff)
downloadexternal_llvm-f564a9389da68266f44314fe38ab399fd2211134.zip
external_llvm-f564a9389da68266f44314fe38ab399fd2211134.tar.gz
external_llvm-f564a9389da68266f44314fe38ab399fd2211134.tar.bz2
Fix suffix handling for parsing and printing of cvtsi2ss, cvtsi2sd, cvtss2si, cvttss2si, cvtsd2si, and cvttsd2si to match gas behavior.
cvtsi2* should parse with an 'l' or 'q' suffix or no suffix at all. No suffix should be treated the same as 'l' suffix. Printing should always print a suffix. Previously we didn't parse or print an 'l' suffix. cvtt*2si/cvt*2si should parse with an 'l' or 'q' suffix or not suffix at all. No suffix should use the destination register size to choose encoding. Printing should not print a suffix. Original 'l' suffix issue with cvtsi2* pointed out by Michael Kuperstein. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171668 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/x86-64-dead-stack-adjust.ll')
-rw-r--r--test/CodeGen/X86/x86-64-dead-stack-adjust.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/x86-64-dead-stack-adjust.ll b/test/CodeGen/X86/x86-64-dead-stack-adjust.ll
index 902c9d5..9c01f16 100644
--- a/test/CodeGen/X86/x86-64-dead-stack-adjust.ll
+++ b/test/CodeGen/X86/x86-64-dead-stack-adjust.ll
@@ -1,5 +1,5 @@
; RUN: llc < %s -mcpu=nehalem | not grep rsp
-; RUN: llc < %s -mcpu=nehalem | grep cvttsd2siq
+; RUN: llc < %s -mcpu=nehalem | grep cvttsd2si
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
target triple = "x86_64-apple-darwin8"