forked from OSchip/llvm-project
R600/SI: Add pattern for AMDGPU.trunc intrinsic
Patch by: Michel Dänzer Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 181263
This commit is contained in:
parent
6e088d810e
commit
9b3d2535bf
|
@ -624,7 +624,9 @@ defm V_MOV_FED_B32 : VOP1_32 <0x00000009, "V_MOV_FED_B32", []>;
|
|||
defm V_FRACT_F32 : VOP1_32 <0x00000020, "V_FRACT_F32",
|
||||
[(set f32:$dst, (AMDGPUfract f32:$src0))]
|
||||
>;
|
||||
defm V_TRUNC_F32 : VOP1_32 <0x00000021, "V_TRUNC_F32", []>;
|
||||
defm V_TRUNC_F32 : VOP1_32 <0x00000021, "V_TRUNC_F32",
|
||||
[(set f32:$dst, (int_AMDGPU_trunc f32:$src0))]
|
||||
>;
|
||||
defm V_CEIL_F32 : VOP1_32 <0x00000022, "V_CEIL_F32",
|
||||
[(set f32:$dst, (fceil f32:$src0))]
|
||||
>;
|
||||
|
|
Loading…
Reference in New Issue