mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-12 07:37:34 +00:00
R600: Disable FP exceptions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215277 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d0ba0f6dd1
commit
cce260012f
@ -376,6 +376,11 @@ AMDGPUTargetLowering::AMDGPUTargetLowering(TargetMachine &TM) :
|
||||
setSchedulingPreference(Sched::RegPressure);
|
||||
setJumpIsExpensive(true);
|
||||
|
||||
// SI at least has hardware support for floating point exceptions, but no way
|
||||
// of using or handling them is implemented. They are also optional in OpenCL
|
||||
// (Section 7.3)
|
||||
setHasFloatingPointExceptions(false);
|
||||
|
||||
setSelectIsExpensive(false);
|
||||
PredictableSelectIsExpensive = false;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user