[llvm] r364617 - [PowerPC][NFC] Use `|=` to update `Simplified` flag
Kai Luo via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 27 18:38:42 PDT 2019
Author: lkail
Date: Thu Jun 27 18:38:42 2019
New Revision: 364617
URL: http://llvm.org/viewvc/llvm-project?rev=364617&view=rev
Log:
[PowerPC][NFC] Use `|=` to update `Simplified` flag
Modified:
llvm/trunk/lib/Target/PowerPC/PPCMIPeephole.cpp
Modified: llvm/trunk/lib/Target/PowerPC/PPCMIPeephole.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCMIPeephole.cpp?rev=364617&r1=364616&r2=364617&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCMIPeephole.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCMIPeephole.cpp Thu Jun 27 18:38:42 2019
@@ -761,7 +761,7 @@ bool PPCMIPeephole::simplifyCode(void) {
break;
}
case PPC::RLDICR: {
- Simplified = emitRLDICWhenLoweringJumpTables(MI);
+ Simplified |= emitRLDICWhenLoweringJumpTables(MI);
break;
}
}
More information about the llvm-commits
mailing list