[llvm-commits] [llvm] r76665 - /llvm/trunk/lib/Target/XCore/XCoreTargetAsmInfo.cpp
Chris Lattner
sabre at nondot.org
Tue Jul 21 15:37:39 PDT 2009
Author: lattner
Date: Tue Jul 21 17:37:38 2009
New Revision: 76665
URL: http://llvm.org/viewvc/llvm-project?rev=76665&view=rev
Log:
if Xcore doesn't support TLS, it doesn't have to worry about thread local LLVM IR, it should be rejected by a front-end.
Modified:
llvm/trunk/lib/Target/XCore/XCoreTargetAsmInfo.cpp
Modified: llvm/trunk/lib/Target/XCore/XCoreTargetAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/XCore/XCoreTargetAsmInfo.cpp?rev=76665&r1=76664&r2=76665&view=diff
==============================================================================
--- llvm/trunk/lib/Target/XCore/XCoreTargetAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/XCore/XCoreTargetAsmInfo.cpp Tue Jul 21 17:37:38 2009
@@ -72,7 +72,7 @@
SectionFlagsForGlobal(const GlobalValue *GV, const char* Name) const {
unsigned Flags = ELFTargetAsmInfo::SectionFlagsForGlobal(GV, Name);
// Mask out unsupported flags
- Flags &= ~(SectionFlags::Small | SectionFlags::TLS);
+ Flags &= ~SectionFlags::Small;
// Set CP / DP relative flags
if (GV) {
More information about the llvm-commits
mailing list