[PATCH] D124232: [AMDGPU] Use d16 flag for image.sample instructions
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 27 02:54:08 PDT 2022
foad added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp:142
+
+ bool RemoveOldIntr = !OldIntr.isIdenticalTo(&InstToReplace);
+
----------------
Can you compare pointers instead of using isIdenticalTo? That would be simpler, if it works.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124232/new/
https://reviews.llvm.org/D124232
More information about the llvm-commits
mailing list