diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2014-12-10 14:14:54 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2014-12-10 14:14:54 +0000 |
commit | e5a2a0c9a884ef18ef1f728248aa1d103a4074ad (patch) | |
tree | 3b0c0c552646c84d8fe4509b294d78e16092d796 /llvm/lib/CodeGen/LiveRangeCalc.cpp | |
parent | e14d29b1de2965b4b62bfdd3daf83a698befb2da (diff) | |
download | bcm5719-llvm-e5a2a0c9a884ef18ef1f728248aa1d103a4074ad.tar.gz bcm5719-llvm-e5a2a0c9a884ef18ef1f728248aa1d103a4074ad.zip |
Silencing a -Wsequence-point warning, and the resulting undefined behavior. NFC.
llvm-svn: 223926
Diffstat (limited to 'llvm/lib/CodeGen/LiveRangeCalc.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveRangeCalc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveRangeCalc.cpp b/llvm/lib/CodeGen/LiveRangeCalc.cpp index daa1ee05f6a..bc88486ce25 100644 --- a/llvm/lib/CodeGen/LiveRangeCalc.cpp +++ b/llvm/lib/CodeGen/LiveRangeCalc.cpp @@ -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. |