projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8953163
)
Silencing a -Wsequence-point warning, and the resulting undefined behavior. NFC.
author
Aaron Ballman
<aaron@aaronballman.com>
Wed, 10 Dec 2014 14:14:54 +0000
(14:14 +0000)
committer
Aaron Ballman
<aaron@aaronballman.com>
Wed, 10 Dec 2014 14:14:54 +0000
(14:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223926
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/LiveRangeCalc.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/LiveRangeCalc.cpp
b/lib/CodeGen/LiveRangeCalc.cpp
index daa1ee05f6a38c53e22e7a2db20dca1f95337ade..bc88486ce25d003ffaa5845ddbdc330987a5356f 100644
(file)
--- a/
lib/CodeGen/LiveRangeCalc.cpp
+++ b/
lib/CodeGen/LiveRangeCalc.cpp
@@
-183,7
+183,7
@@
void LiveRangeCalc::extendToUses(LiveInterval &LI) {
(MRI->tracksSubRegLiveness() && SubReg != 0))) {
unsigned Mask = SubReg != 0
? TRI.getSubRegIndexLaneMask(SubReg)
- : M
ask = M
RI->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.