mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-01 17:28:21 +00:00
Fixing a -Wcast-qual warning in GCC. No functional changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214399 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7ee4f09c94
commit
fec274dafb
@ -3866,8 +3866,8 @@ static SDValue PerformADDCombineWithOperands(SDNode *N, SDValue N0, SDValue N1,
|
||||
}
|
||||
else if (N0.getOpcode() == ISD::FMUL) {
|
||||
if (VT == MVT::f32 || VT == MVT::f64) {
|
||||
NVPTXTargetLowering *TLI =
|
||||
(NVPTXTargetLowering *)&DAG.getTargetLoweringInfo();
|
||||
const auto *TLI = static_cast<const NVPTXTargetLowering *>(
|
||||
&DAG.getTargetLoweringInfo());
|
||||
if (!TLI->allowFMA(DAG.getMachineFunction(), OptLevel))
|
||||
return SDValue();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user