[llvm] r213088 - R600: Add predicate for UnsafeFPMath
Matt Arsenault
Matthew.Arsenault at amd.com
Tue Jul 15 13:18:27 PDT 2014
Author: arsenm
Date: Tue Jul 15 15:18:24 2014
New Revision: 213088
URL: http://llvm.org/viewvc/llvm-project?rev=213088&view=rev
Log:
R600: Add predicate for UnsafeFPMath
Modified:
llvm/trunk/lib/Target/R600/AMDGPUInstructions.td
Modified: llvm/trunk/lib/Target/R600/AMDGPUInstructions.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/AMDGPUInstructions.td?rev=213088&r1=213087&r2=213088&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/AMDGPUInstructions.td (original)
+++ llvm/trunk/lib/Target/R600/AMDGPUInstructions.td Tue Jul 15 15:18:24 2014
@@ -36,6 +36,7 @@ class AMDGPUShaderInst <dag outs, dag in
def FP32Denormals : Predicate<"Subtarget.hasFP32Denormals()">;
def FP64Denormals : Predicate<"Subtarget.hasFP64Denormals()">;
+def UnsafeFPMath : Predicate<"TM.Options.UnsafeFPMath">;
def InstFlag : OperandWithDefaultOps <i32, (ops (i32 0))>;
def ADDRIndirect : ComplexPattern<iPTR, 2, "SelectADDRIndirect", [], []>;
More information about the llvm-commits
mailing list