mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:43:36 +01:00
[InstCombine] reduce code; NFC
llvm-svn: 346235
This commit is contained in:
parent
0b09f95f9c
commit
8ae542cbdb
@ -5284,7 +5284,7 @@ static Instruction *foldFCmpReciprocalAndZero(FCmpInst &I, Instruction *LHSI,
|
||||
// Finally emit the new fcmp.
|
||||
Value *X = LHSI->getOperand(1);
|
||||
FCmpInst *NewFCI = new FCmpInst(Pred, X, RHSC);
|
||||
NewFCI->setFastMathFlags(I.getFastMathFlags());
|
||||
NewFCI->copyFastMathFlags(&I);
|
||||
return NewFCI;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user