diff options
author | Chris Lattner <sabre@nondot.org> | 2002-04-09 05:16:08 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-04-09 05:16:08 +0000 |
commit | 46f8b0e7594f64b0310d47ee44a2bef81dad2226 (patch) | |
tree | 71d4c4e867a3f55684b11efdfdeebae9da70d07f /llvm/lib | |
parent | 6c1a58d6ba3242adf47f76ccbbc10aedd777c4c2 (diff) | |
download | bcm5719-llvm-46f8b0e7594f64b0310d47ee44a2bef81dad2226.tar.gz bcm5719-llvm-46f8b0e7594f64b0310d47ee44a2bef81dad2226.zip |
Use new higher level isFloatingPoint() function
llvm-svn: 2191
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/Sparc/EmitAssembly.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Sparc/EmitAssembly.cpp b/llvm/lib/Target/Sparc/EmitAssembly.cpp index 83a8b644945..02eeca49e53 100644 --- a/llvm/lib/Target/Sparc/EmitAssembly.cpp +++ b/llvm/lib/Target/Sparc/EmitAssembly.cpp @@ -613,7 +613,7 @@ SparcModuleAsmPrinter::printSingleConstant(const Constant* CV) if (CV->getType()->isPrimitiveType()) { - if (CV->getType() == Type::FloatTy || CV->getType() == Type::DoubleTy) + if (CV->getType()->isFloatingPoint()) toAsm << "0r"; // FP constants must have this prefix toAsm << CV->getStrValue() << "\n"; } |