1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

[AArch64][GlobalISel] Change | -> || in an if

I wrote the wrong type of OR by mistake.
This commit is contained in:
Jessica Paquette 2021-07-21 14:57:31 -07:00
parent 9cab0ceb62
commit f9cc27a4e9

View File

@ -5079,7 +5079,7 @@ bool AArch64InstructionSelector::selectIntrinsicWithSideEffects(
Opc = AArch64::ST2Twov4s; Opc = AArch64::ST2Twov4s;
else if (Ty == LLT::fixed_vector(2, S64) || Ty == LLT::fixed_vector(2, P0)) else if (Ty == LLT::fixed_vector(2, S64) || Ty == LLT::fixed_vector(2, P0))
Opc = AArch64::ST2Twov2d; Opc = AArch64::ST2Twov2d;
else if (Ty == S64 | Ty == P0) else if (Ty == S64 || Ty == P0)
Opc = AArch64::ST1Twov1d; Opc = AArch64::ST1Twov1d;
else else
llvm_unreachable("Unexpected type for st2!"); llvm_unreachable("Unexpected type for st2!");