mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-06 11:29:27 +00:00
Silencing a -Wsequence-point warning, and the resulting undefined behavior. NFC.
llvm-svn: 223926
This commit is contained in:
parent
fdaa66cd59
commit
b249bf3fc3
@ -183,7 +183,7 @@ void LiveRangeCalc::extendToUses(LiveInterval &LI) {
|
||||
(MRI->tracksSubRegLiveness() && SubReg != 0))) {
|
||||
unsigned Mask = SubReg != 0
|
||||
? TRI.getSubRegIndexLaneMask(SubReg)
|
||||
: Mask = MRI->getMaxLaneMaskForVReg(Reg);
|
||||
: MRI->getMaxLaneMaskForVReg(Reg);
|
||||
|
||||
// If this is the first time we see a subregister def/use. Initialize
|
||||
// subranges by creating a copy of the main range.
|
||||
|
Loading…
x
Reference in New Issue
Block a user