[PATCH] D86063: AMDGPU: Match global saddr addressing mode
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 17 11:39:53 PDT 2020
rampitec added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp:1789
+ // Match the variable offset.
+ if (Addr.getOpcode() != ISD::ADD)
+ return false;
----------------
You probably need to match OR as well, this is a canonical form.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86063/new/
https://reviews.llvm.org/D86063
More information about the llvm-commits
mailing list