forked from OSchip/llvm-project
Create an FPOW SDNode opcode def in the target independent .td file rather than in a specific backend.
llvm-svn: 182450
This commit is contained in:
parent
f8114cf621
commit
616852848a
|
@ -376,6 +376,7 @@ def fsqrt : SDNode<"ISD::FSQRT" , SDTFPUnaryOp>;
|
|||
def fsin : SDNode<"ISD::FSIN" , SDTFPUnaryOp>;
|
||||
def fcos : SDNode<"ISD::FCOS" , SDTFPUnaryOp>;
|
||||
def fexp2 : SDNode<"ISD::FEXP2" , SDTFPUnaryOp>;
|
||||
def fpow : SDNode<"ISD::FPOW" , SDTFPBinOp>;
|
||||
def flog2 : SDNode<"ISD::FLOG2" , SDTFPUnaryOp>;
|
||||
def frint : SDNode<"ISD::FRINT" , SDTFPUnaryOp>;
|
||||
def ftrunc : SDNode<"ISD::FTRUNC" , SDTFPUnaryOp>;
|
||||
|
|
|
@ -65,8 +65,6 @@ def AMDGPUumin : SDNode<"AMDGPUISD::UMIN", SDTIntBinOp,
|
|||
// e is rounding error
|
||||
def AMDGPUurecip : SDNode<"AMDGPUISD::URECIP", SDTIntUnaryOp>;
|
||||
|
||||
def fpow : SDNode<"ISD::FPOW", SDTFPBinOp>;
|
||||
|
||||
def AMDGPUregister_load : SDNode<"AMDGPUISD::REGISTER_LOAD",
|
||||
SDTypeProfile<1, 2, [SDTCisPtrTy<1>, SDTCisInt<2>]>,
|
||||
[SDNPHasChain, SDNPMayLoad]>;
|
||||
|
|
Loading…
Reference in New Issue