This will help sneak undefs past GVN into the DAG for some tests.
Also add missing intrinsic for rsq_legacy, even though the node was already selected to the instruction. Also start passing the debug location to intrinsic errors.
Paths
| Differential D21437
AMDGPU: Fold more custom nodes to undef ClosedPublic Authored by arsenm on Jun 16 2016, 8:59 AM.
Details
Summary This will help sneak undefs past GVN into the DAG for some tests. Also add missing intrinsic for rsq_legacy, even though the node was already selected to the instruction. Also start passing the debug location to intrinsic errors.
Diff Detail Event Timelinearsenm updated this object. This revision is now accepted and ready to land.Jun 17 2016, 8:07 PM
Revision Contents
Diff 60984 include/llvm/IR/IntrinsicsAMDGPU.td
lib/Target/AMDGPU/SIISelLowering.cpp
test/CodeGen/AMDGPU/llvm.amdgcn.class.ll
test/CodeGen/AMDGPU/llvm.amdgcn.fract.ll
test/CodeGen/AMDGPU/llvm.amdgcn.ldexp.ll
test/CodeGen/AMDGPU/llvm.amdgcn.rcp.ll
test/CodeGen/AMDGPU/llvm.amdgcn.rsq.clamp.ll
test/CodeGen/AMDGPU/llvm.amdgcn.rsq.legacy.ll
test/CodeGen/AMDGPU/llvm.amdgcn.rsq.ll
test/CodeGen/AMDGPU/vi-removed-intrinsics.ll
|
Is all this necessary?