From c6fe8436e88e71076d3fce6532b864d031b46fbd Mon Sep 17 00:00:00 2001 From: Kai Luo Date: Fri, 28 Jun 2019 01:38:42 +0000 Subject: [PATCH] [PowerPC][NFC] Use `|=` to update `Simplified` flag llvm-svn: 364617 --- llvm/lib/Target/PowerPC/PPCMIPeephole.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/PowerPC/PPCMIPeephole.cpp b/llvm/lib/Target/PowerPC/PPCMIPeephole.cpp index 54f8f77..7381c9c 100644 --- a/llvm/lib/Target/PowerPC/PPCMIPeephole.cpp +++ b/llvm/lib/Target/PowerPC/PPCMIPeephole.cpp @@ -761,7 +761,7 @@ bool PPCMIPeephole::simplifyCode(void) { break; } case PPC::RLDICR: { - Simplified = emitRLDICWhenLoweringJumpTables(MI); + Simplified |= emitRLDICWhenLoweringJumpTables(MI); break; } } -- 2.7.4