[llvm] [AMDGPU][True16][CodeGen] Support AND/OR/XOR and LDEXP True16 format (PR #102620)

Brox Chen via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 12 14:51:09 PDT 2024


================
@@ -236,5 +243,38 @@ bool GCNPreRAOptimizations::runOnMachineFunction(MachineFunction &MF) {
     Changed |= processReg(Reg);
   }
 
+  if (!ST.useRealTrue16Insts())
+    return Changed;
+
+  // Add RA hints to improve True16 COPY elimination.
----------------
broxigarchen wrote:

Removed from this patch and will open PR for this

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


More information about the llvm-commits mailing list