mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 20:23:59 +00:00
Silencing a -Wsequence-point warning, and the resulting undefined behavior. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223926 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -183,7 +183,7 @@ void LiveRangeCalc::extendToUses(LiveInterval &LI) {
|
|||||||
(MRI->tracksSubRegLiveness() && SubReg != 0))) {
|
(MRI->tracksSubRegLiveness() && SubReg != 0))) {
|
||||||
unsigned Mask = SubReg != 0
|
unsigned Mask = SubReg != 0
|
||||||
? TRI.getSubRegIndexLaneMask(SubReg)
|
? TRI.getSubRegIndexLaneMask(SubReg)
|
||||||
: Mask = MRI->getMaxLaneMaskForVReg(Reg);
|
: MRI->getMaxLaneMaskForVReg(Reg);
|
||||||
|
|
||||||
// If this is the first time we see a subregister def/use. Initialize
|
// If this is the first time we see a subregister def/use. Initialize
|
||||||
// subranges by creating a copy of the main range.
|
// subranges by creating a copy of the main range.
|
||||||
|
Reference in New Issue
Block a user