mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
R600/SI: Temporary fix for f64 fneg
This should be a source modifier, but this unblocks most of my math patches. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211181 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3de1bed8f4
commit
f7aa5f9379
@ -212,6 +212,10 @@ SITargetLowering::SITargetLowering(TargetMachine &TM) :
|
||||
setOperationAction(ISD::FRINT, MVT::f64, Legal);
|
||||
}
|
||||
|
||||
// FIXME: This should be removed and handled the same was as f32 fneg. Source
|
||||
// modifiers also work for the double instructions.
|
||||
setOperationAction(ISD::FNEG, MVT::f64, Expand);
|
||||
|
||||
setTargetDAGCombine(ISD::SELECT_CC);
|
||||
setTargetDAGCombine(ISD::SETCC);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user