projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NVPTXAsmPrinter] do not print .align on function headers
[oota-llvm.git]
/
lib
/
Target
/
NVPTX
/
MCTargetDesc
/
NVPTXMCAsmInfo.cpp
diff --git
a/lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp
b/lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp
index 11d737ec187f6ac193c83a042021006948423f8a..b9df3d18f9413e327ff5de7611580592aa80349e 100644
(file)
--- a/
lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp
+++ b/
lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp
@@
-39,6
+39,8
@@
NVPTXMCAsmInfo::NVPTXMCAsmInfo(StringRef TT) {
InlineAsmEnd = " inline asm";
SupportsDebugInformation = CompileForDebugging;
+ // PTX does not allow .align on functions.
+ HasFunctionAlignment = false;
HasDotTypeDotSizeDirective = false;
Data8bitsDirective = " .b8 ";