[llvm] [X86][NFC] Reorder the registers to reduce unnecessary iterations (PR #70222)

Shengchen Kan via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 25 20:09:22 PDT 2023


================
@@ -1182,11 +1182,27 @@ namespace X86II {
     }
   }
 
+  inline bool isXMMReg(unsigned RegNo) {
+    return (RegNo >= X86::XMM0 && RegNo <= X86::XMM15) ||
----------------
KanRobert wrote:

We also updated the code there. 

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


More information about the llvm-commits mailing list