[llvm] [AMDGPU] Replace `isInlinableLiteral16` with specific version (PR #84402)

Stanislav Mekhanoshin via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 8 09:55:58 PST 2024


================
@@ -3327,35 +3327,41 @@ bool AMDGPUDAGToDAGISel::SelectWMMAVISrc(SDValue In, SDValue &Src) const {
 
   // 16 bit splat
   SDValue SplatSrc32 = stripBitcast(In);
-  if (auto *SplatSrc32BV = dyn_cast<BuildVectorSDNode>(SplatSrc32)) {
+  if (auto *SplatSrc32BV = dyn_cast<BuildVectorSDNode>(SplatSrc32))
----------------
rampitec wrote:

Kudos!

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


More information about the llvm-commits mailing list