mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-09 10:31:14 +00:00
Simplify conditional.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218643 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e3d2fcce41
commit
11bea1bff3
@ -113,7 +113,7 @@ MipsTargetMachine::getSubtargetImpl(const Function &F) const {
|
||||
Attribute SFAttr =
|
||||
FnAttrs.getAttribute(AttributeSet::FunctionIndex, "use-soft-float");
|
||||
bool softFloat = !SFAttr.hasAttribute(Attribute::None)
|
||||
? (SFAttr.getValueAsString() == "true" ? true : false)
|
||||
? SFAttr.getValueAsString() == "true"
|
||||
: Options.UseSoftFloat;
|
||||
|
||||
if (hasMips16Attr)
|
||||
|
Loading…
Reference in New Issue
Block a user