mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-08 13:00:50 +00:00
Simplify code. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227333 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a5070baf7e
commit
f43ce56642
@ -276,9 +276,7 @@ SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user