mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-24 04:25:22 +00:00
Remove an unnecessary predicate.
Patch by Scott Michel. llvm-svn: 34354
This commit is contained in:
parent
d22266f456
commit
b175f70613
@ -458,7 +458,7 @@ unsigned char TargetData::getAlignment(const Type *Ty, bool abi_or_pref) const {
|
||||
|
||||
case Type::StructTyID: {
|
||||
// Packed structure types always have an ABI alignment of one.
|
||||
if (cast<StructType>(Ty)->isPacked() && abi_or_pref)
|
||||
if (cast<StructType>(Ty)->isPacked())
|
||||
return 1;
|
||||
|
||||
// Get the layout annotation... which is lazily created on demand.
|
||||
|
Loading…
Reference in New Issue
Block a user