From: Matt Arsenault Date: Fri, 12 Dec 2014 02:30:33 +0000 (+0000) Subject: R600/SI: fmin/fmax_legacy are not associative X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=03858c733c16091d22a52ef6a3170517b62842f3;p=oota-llvm.git 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 --- diff --git a/lib/Target/R600/AMDGPUInstrInfo.td b/lib/Target/R600/AMDGPUInstrInfo.td index 4ee0f2b31cc..9d988b60de9 100644 --- a/lib/Target/R600/AMDGPUInstrInfo.td +++ b/lib/Target/R600/AMDGPUInstrInfo.td @@ -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