summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-12-09 18:51:01 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-12-09 18:51:01 +0000
commitbac69b7df9a540fcc7fdf803718ba8a4335a3044 (patch)
tree3859a37310b5d6508c311ab2f973494ff670cde6 /llvm/lib
parent641f5c9878f05ae45c9043678aaeaca1e84a4fce (diff)
downloadbcm5719-llvm-bac69b7df9a540fcc7fdf803718ba8a4335a3044.tar.gz
bcm5719-llvm-bac69b7df9a540fcc7fdf803718ba8a4335a3044.zip
Fix asm-printing directives (how did we not see this before...apparently,
everything was an int!) llvm-svn: 18712
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/SparcV8/SparcV8AsmPrinter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/SparcV8/SparcV8AsmPrinter.cpp b/llvm/lib/Target/SparcV8/SparcV8AsmPrinter.cpp
index 80fc85b1400..432aa2c5949 100644
--- a/llvm/lib/Target/SparcV8/SparcV8AsmPrinter.cpp
+++ b/llvm/lib/Target/SparcV8/SparcV8AsmPrinter.cpp
@@ -284,15 +284,15 @@ void V8Printer::emitGlobalConstant(const Constant *CV) {
O << ".byte";
break;
case Type::UShortTyID: case Type::ShortTyID:
- O << ".word";
+ O << ".half";
break;
case Type::FloatTyID: case Type::PointerTyID:
case Type::UIntTyID: case Type::IntTyID:
- O << ".long";
+ O << ".word";
break;
case Type::DoubleTyID:
case Type::ULongTyID: case Type::LongTyID:
- O << ".quad";
+ O << ".xword";
break;
default:
assert (0 && "Can't handle printing this type of thing");
OpenPOWER on IntegriCloud