[llvm] e2dd86b - [X86] Key Locker instructions should use VR128 regclass not VR128X.
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 2 21:57:47 PDT 2020
Author: Craig Topper
Date: 2020-10-02T21:55:07-07:00
New Revision: e2dd86bbfcb4c1888d5e0ff6256a51c906e621cb
URL: https://github.com/llvm/llvm-project/commit/e2dd86bbfcb4c1888d5e0ff6256a51c906e621cb
DIFF: https://github.com/llvm/llvm-project/commit/e2dd86bbfcb4c1888d5e0ff6256a51c906e621cb.diff
LOG: [X86] Key Locker instructions should use VR128 regclass not VR128X.
Added:
Modified:
llvm/lib/Target/X86/X86InstrKL.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/X86/X86InstrKL.td b/llvm/lib/Target/X86/X86InstrKL.td
index 452410891bd8..77e011fe14d6 100644
--- a/llvm/lib/Target/X86/X86InstrKL.td
+++ b/llvm/lib/Target/X86/X86InstrKL.td
@@ -18,9 +18,9 @@
let SchedRW = [WriteSystem], Predicates = [HasKL] in {
let Uses = [XMM0, EAX] in {
- def LOADIWKEY : I<0xDC, MRMSrcReg, (outs), (ins VR128X:$src1, VR128X:$src2),
+ def LOADIWKEY : I<0xDC, MRMSrcReg, (outs), (ins VR128:$src1, VR128:$src2),
"loadiwkey\t{$src2, $src1|$src1, $src2}",
- [(int_x86_loadiwkey EAX, XMM0, VR128X:$src1, VR128X:$src2)]>, T8XS;
+ [(int_x86_loadiwkey EAX, XMM0, VR128:$src1, VR128:$src2)]>, T8XS;
}
let Uses = [XMM0], Defs = [XMM0, XMM1, XMM2, XMM4, XMM5, XMM6] in {
@@ -35,16 +35,16 @@ let SchedRW = [WriteSystem], Predicates = [HasKL] in {
let Constraints = "$src1 = $dst",
Defs = [EFLAGS] in {
- def AESENC128KL : I<0xDC, MRMSrcMem, (outs VR128X:$dst), (ins VR128X:$src1, opaquemem:$src2),
+ def AESENC128KL : I<0xDC, MRMSrcMem, (outs VR128:$dst), (ins VR128:$src1, opaquemem:$src2),
"aesenc128kl\t{$src2, $src1|$src1, $src2}", []>, T8XS;
- def AESDEC128KL : I<0xDD, MRMSrcMem, (outs VR128X:$dst), (ins VR128X:$src1, opaquemem:$src2),
+ def AESDEC128KL : I<0xDD, MRMSrcMem, (outs VR128:$dst), (ins VR128:$src1, opaquemem:$src2),
"aesdec128kl\t{$src2, $src1|$src1, $src2}", []>, T8XS;
- def AESENC256KL : I<0xDE, MRMSrcMem, (outs VR128X:$dst), (ins VR128X:$src1, opaquemem:$src2),
+ def AESENC256KL : I<0xDE, MRMSrcMem, (outs VR128:$dst), (ins VR128:$src1, opaquemem:$src2),
"aesenc256kl\t{$src2, $src1|$src1, $src2}", []>, T8XS;
- def AESDEC256KL : I<0xDF, MRMSrcMem, (outs VR128X:$dst), (ins VR128X:$src1, opaquemem:$src2),
+ def AESDEC256KL : I<0xDF, MRMSrcMem, (outs VR128:$dst), (ins VR128:$src1, opaquemem:$src2),
"aesdec256kl\t{$src2, $src1|$src1, $src2}", []>, T8XS;
}
More information about the llvm-commits
mailing list