aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PTX/PTXAsmPrinter.cpp
diff options
context:
space:
mode:
authorJustin Holewinski <justin.holewinski@gmail.com>2011-03-03 13:34:29 +0000
committerJustin Holewinski <justin.holewinski@gmail.com>2011-03-03 13:34:29 +0000
commit12785e87e88309c1934add000b754eba51a6c391 (patch)
tree140f1d4fb4301e7b38971ee12614422e6c7d12eb /lib/Target/PTX/PTXAsmPrinter.cpp
parent3649824bec09768cbdee7aa7cfbbcdd865373626 (diff)
downloadexternal_llvm-12785e87e88309c1934add000b754eba51a6c391.zip
external_llvm-12785e87e88309c1934add000b754eba51a6c391.tar.gz
external_llvm-12785e87e88309c1934add000b754eba51a6c391.tar.bz2
PTX: Fix a couple of lint violations
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126936 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PTX/PTXAsmPrinter.cpp')
-rw-r--r--lib/Target/PTX/PTXAsmPrinter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/PTX/PTXAsmPrinter.cpp b/lib/Target/PTX/PTXAsmPrinter.cpp
index 1313403..2c4c79b 100644
--- a/lib/Target/PTX/PTXAsmPrinter.cpp
+++ b/lib/Target/PTX/PTXAsmPrinter.cpp
@@ -170,7 +170,8 @@ void PTXAsmPrinter::EmitStartOfAsmFile(Module &M)
OutStreamer.EmitRawText(Twine("\t.version " + ST.getPTXVersionString()));
OutStreamer.EmitRawText(Twine("\t.target " + ST.getTargetString() +
- (ST.supportsDouble() ? "" : ", map_f64_to_f32")));
+ (ST.supportsDouble() ? ""
+ : ", map_f64_to_f32")));
OutStreamer.AddBlankLine();
// declare global variables