This produces less work for addressing mode matching. I think this is
safe since I don't think machine IR is supposed to give the same
aliasing properties as getelementptr in the IR.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D86059
GlobalISel: Combine G_ADD of G_PTRTOINT to G_PTR_ADD ClosedPublic Authored by arsenm on Aug 17 2020, 5:31 AM.
Details Summary This produces less work for addressing mode matching. I think this is
Diff Detail
Revision Contents
Diff 285977 llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
llvm/include/llvm/Target/GlobalISel/Combine.td
llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/combine-add-to-ptradd.mir
|