[llvm] [X86][NFC] Reorder the registers to reduce unnecessary iterations (PR #70222)
Phoebe Wang via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 25 19:40:33 PDT 2023
================
@@ -1182,11 +1182,27 @@ namespace X86II {
}
}
+ inline bool isXMMReg(unsigned RegNo) {
+ return (RegNo >= X86::XMM0 && RegNo <= X86::XMM15) ||
----------------
phoebewang wrote:
Besides, this will bring problems to code like this: https://github.com/llvm/llvm-project/blob/main/llvm/lib/Target/X86/X86RegisterInfo.cpp#L608
https://github.com/llvm/llvm-project/pull/70222
More information about the llvm-commits
mailing list