mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-22 20:18:38 +00:00
R600/SI: fmin/fmax_legacy are not associative
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224093 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3d1ca355c4
commit
03858c733c
@ -63,7 +63,7 @@ def AMDGPUldexp : SDNode<"AMDGPUISD::LDEXP", AMDGPULdExpOp>;
|
||||
// x < nan ? x : nan -> nan
|
||||
// nan < x ? nan : x -> x
|
||||
def AMDGPUfmax_legacy : SDNode<"AMDGPUISD::FMAX_LEGACY", SDTFPBinOp,
|
||||
[SDNPAssociative]
|
||||
[]
|
||||
>;
|
||||
|
||||
def AMDGPUclamp : SDNode<"AMDGPUISD::CLAMP", SDTFPTernaryOp, []>;
|
||||
@ -81,7 +81,7 @@ def AMDGPUumax : SDNode<"AMDGPUISD::UMAX", SDTIntBinOp,
|
||||
|
||||
// out = min(a, b) a and b are floats, where a nan comparison fails.
|
||||
def AMDGPUfmin_legacy : SDNode<"AMDGPUISD::FMIN_LEGACY", SDTFPBinOp,
|
||||
[SDNPAssociative]
|
||||
[]
|
||||
>;
|
||||
|
||||
// out = min(a, b) a and b are signed ints
|
||||
|
Loading…
Reference in New Issue
Block a user