aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
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
commit4f1c7256f9e7c63be7de9e1e2a4083e3bb1d5c38 (patch)
tree9ccd4373760fd6a3598ce5397e709b20805ca338 /llvm/lib/CodeGen/CodeGen.cpp
parent5f3c9200e5980b9f1580c9a361db84b279f3073f (diff)
downloadllvm-4f1c7256f9e7c63be7de9e1e2a4083e3bb1d5c38.zip
llvm-4f1c7256f9e7c63be7de9e1e2a4083e3bb1d5c38.tar.gz
llvm-4f1c7256f9e7c63be7de9e1e2a4083e3bb1d5c38.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. llvm-svn: 171668
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions