[PATCH] D22210: AMDGPU: Treat texture gather instructions more like other MIMG instructions
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 11 14:46:59 PDT 2016
arsenm added inline comments.
================
Comment at: lib/Target/AMDGPU/SIISelLowering.cpp:3137
@@ -3137,1 +3136,3 @@
+ if (TII->isMIMG(Opcode) && !TII->get(Opcode).mayStore() &&
+ !(TII->get(Opcode).TSFlags & SIInstrFlags::Gather4))
adjustWritemask(Node, DAG);
----------------
This should be a new check in SIInstrInfo. Would mayLoad be better than !mayStore?
http://reviews.llvm.org/D22210
More information about the llvm-commits
mailing list