[llvm] r227333 - Simplify code. NFC.
Rafael Espindola
rafael.espindola at gmail.com
Wed Jan 28 09:54:19 PST 2015
Author: rafael
Date: Wed Jan 28 11:54:19 2015
New Revision: 227333
URL: http://llvm.org/viewvc/llvm-project?rev=227333&view=rev
Log:
Simplify code. NFC.
Modified:
llvm/trunk/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
Modified: llvm/trunk/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/TargetLoweringObjectFileImpl.cpp?rev=227333&r1=227332&r2=227333&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/TargetLoweringObjectFileImpl.cpp (original)
+++ llvm/trunk/lib/CodeGen/TargetLoweringObjectFileImpl.cpp Wed Jan 28 11:54:19 2015
@@ -276,9 +276,7 @@ SelectSectionForGlobal(const GlobalValue
if (Kind.isText()) return TextSection;
- if (Kind.isMergeable1ByteCString() ||
- Kind.isMergeable2ByteCString() ||
- Kind.isMergeable4ByteCString()) {
+ if (Kind.isMergeableCString()) {
// We also need alignment here.
// FIXME: this is getting the alignment of the character, not the
More information about the llvm-commits
mailing list