mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-30 23:21:04 +00:00
[X86] Fix an assert that was incorrectly checking for BMI instead of AVX512VBMI.
The check is actually unnecessary since AVX512VBMI implies AVX512BW which is the other part of the assert. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319006 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
984b922f6a
commit
75de121e01
@ -2149,8 +2149,7 @@ static void Passv64i1ArgInRegs(
|
||||
const SDLoc &Dl, SelectionDAG &DAG, SDValue Chain, SDValue &Arg,
|
||||
SmallVector<std::pair<unsigned, SDValue>, 8> &RegsToPass, CCValAssign &VA,
|
||||
CCValAssign &NextVA, const X86Subtarget &Subtarget) {
|
||||
assert((Subtarget.hasBWI() || Subtarget.hasBMI()) &&
|
||||
"Expected AVX512BW or AVX512BMI target!");
|
||||
assert(Subtarget.hasBWI() && "Expected AVX512BW target!");
|
||||
assert(Subtarget.is32Bit() && "Expecting 32 bit target");
|
||||
assert(Arg.getValueType() == MVT::i64 && "Expecting 64 bit value");
|
||||
assert(VA.isRegLoc() && NextVA.isRegLoc() &&
|
||||
|
Loading…
Reference in New Issue
Block a user