[llvm] [AMDGPU] Extend zero initialization of return values for TFE (PR #85759)

Ivan Kosarev via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 20 08:54:39 PDT 2024


================
@@ -466,6 +467,11 @@ bool getMUBUFIsBufferInv(unsigned Opc) {
   return Info ? Info->IsBufferInv : false;
 }
 
+bool getMUBUFHasTFE(unsigned Opc) {
----------------
kosarev wrote:

Looks very minor, so I guess should be fine either way. The doubt was, HasTFE might be misleading in presence of `getMUBUFHasSoffset()`, etc. which have a different meaning.

https://github.com/llvm/llvm-project/pull/85759


More information about the llvm-commits mailing list