aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CommandFlags.cpp
diff options
context:
space:
mode:
authorYonghong Song <yhs@fb.com>2020-08-28 09:07:20 -0700
committerYonghong Song <yhs@fb.com>2020-08-28 09:16:52 -0700
commit443d352a1c4c90f3b4f1179f849609a30bd23e62 (patch)
treee046bbf4c28bbef4099d44be839a19849a5e425c /llvm/lib/CodeGen/CommandFlags.cpp
parentdeb4b2580715810ecd5cb7eefa5ffbe65e5eedc8 (diff)
downloadllvm-443d352a1c4c90f3b4f1179f849609a30bd23e62.zip
llvm-443d352a1c4c90f3b4f1179f849609a30bd23e62.tar.gz
llvm-443d352a1c4c90f3b4f1179f849609a30bd23e62.tar.bz2
[GlobalISel] fix a compilation error with gcc 6.3.0
With gcc 6.3.0, I hit the following compilation error: ../lib/CodeGen/GlobalISel/Combiner.cpp: In member function ‘bool llvm::Combiner::combineMachineInstrs(llvm::MachineFunction&, llvm::GISelCSEInfo*)’: ../lib/CodeGen/GlobalISel/Combiner.cpp:156:54: error: suggest parentheses around ‘&&’ within ‘||’ [-Werror=parentheses] assert(!CSEInfo || !errorToBool(CSEInfo->verify()) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ "CSEInfo is not consistent. Likely missing calls to " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "observer on mutations"); Fix the code as suggested by the compiler.
Diffstat (limited to 'llvm/lib/CodeGen/CommandFlags.cpp')
0 files changed, 0 insertions, 0 deletions