R600/SI: fmin/fmax_legacy are not associative

llvm-svn: 224093
This commit is contained in:
Matt Arsenault 2014-12-12 02:30:33 +00:00
parent 477b178276
commit 145d5717f5
1 changed files with 2 additions and 2 deletions

View File

@ -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