From f9cc27a4e96b551b50942315722aae391d48eea5 Mon Sep 17 00:00:00 2001 From: Jessica Paquette Date: Wed, 21 Jul 2021 14:57:31 -0700 Subject: [PATCH] [AArch64][GlobalISel] Change | -> || in an if I wrote the wrong type of OR by mistake. --- lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp b/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp index 07fbf569855..f4525e73e59 100644 --- a/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp +++ b/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp @@ -5079,7 +5079,7 @@ bool AArch64InstructionSelector::selectIntrinsicWithSideEffects( Opc = AArch64::ST2Twov4s; else if (Ty == LLT::fixed_vector(2, S64) || Ty == LLT::fixed_vector(2, P0)) Opc = AArch64::ST2Twov2d; - else if (Ty == S64 | Ty == P0) + else if (Ty == S64 || Ty == P0) Opc = AArch64::ST1Twov1d; else llvm_unreachable("Unexpected type for st2!");