[llvm] be059a1 - [x86] avoid compile-time warning for parens; NFC
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 7 14:00:21 PST 2022
Author: Sanjay Patel
Date: 2022-02-07T16:59:50-05:00
New Revision: be059a1263c68837a1e3c003647aecc1f41f80f6
URL: https://github.com/llvm/llvm-project/commit/be059a1263c68837a1e3c003647aecc1f41f80f6
DIFF: https://github.com/llvm/llvm-project/commit/be059a1263c68837a1e3c003647aecc1f41f80f6.diff
LOG: [x86] avoid compile-time warning for parens; NFC
Added:
Modified:
llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp b/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
index 0d697f4fcafde..54cb88d037678 100644
--- a/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
+++ b/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
@@ -465,7 +465,7 @@ namespace {
// Copy flags to the EFLAGS register and glue it to next node.
unsigned Opcode = N->getOpcode();
- assert(Opcode == X86ISD::SBB || Opcode == X86ISD::SETCC_CARRY &&
+ assert((Opcode == X86ISD::SBB || Opcode == X86ISD::SETCC_CARRY) &&
"Unexpected opcode for SBB materialization");
unsigned FlagOpIndex = Opcode == X86ISD::SBB ? 2 : 1;
SDValue EFLAGS =
More information about the llvm-commits
mailing list