Skip to content

Commit c75a2bb

Browse files
author
Jessica Paquette
committed
[AArch64][GlobalISel] Change | -> || in an if
I wrote the wrong type of OR by mistake.
1 parent e2000f2 commit c75a2bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5079,7 +5079,7 @@ bool AArch64InstructionSelector::selectIntrinsicWithSideEffects(
50795079
Opc = AArch64::ST2Twov4s;
50805080
else if (Ty == LLT::fixed_vector(2, S64) || Ty == LLT::fixed_vector(2, P0))
50815081
Opc = AArch64::ST2Twov2d;
5082-
else if (Ty == S64 | Ty == P0)
5082+
else if (Ty == S64 || Ty == P0)
50835083
Opc = AArch64::ST1Twov1d;
50845084
else
50855085
llvm_unreachable("Unexpected type for st2!");

0 commit comments

Comments
 (0)