diff options
author | Dominic Chen <d.c.ddcc@gmail.com> | 2016-08-11 04:10:56 +0000 |
---|---|---|
committer | Dominic Chen <d.c.ddcc@gmail.com> | 2016-08-11 04:10:56 +0000 |
commit | 4173fffa0868688ad83aadb547b263139eb55684 (patch) | |
tree | 37b1cc4182dc5ecec94952079c149213a0e29985 /llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp | |
parent | 0d58fcac994227b465a30d03c4bf6651ceedbab1 (diff) | |
download | llvm-4173fffa0868688ad83aadb547b263139eb55684.zip llvm-4173fffa0868688ad83aadb547b263139eb55684.tar.gz llvm-4173fffa0868688ad83aadb547b263139eb55684.tar.bz2 |
[WebAssembly] Cleanup trailing whitespace
Summary: Test for commit access.
Subscribers: jfb, dschuff
Differential Revision: https://reviews.llvm.org/D23392
llvm-svn: 278313
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp')
-rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp index 5ff0085..aa40098 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp +++ b/llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp @@ -303,7 +303,7 @@ static bool IsSafeToMove(const MachineInstr *Def, const MachineInstr *Insert, // Ask LiveIntervals whether moving this virtual register use or def to // Insert will change which value numbers are seen. - // + // // If the operand is a use of a register that is also defined in the same // instruction, test that the newly defined value reaches the insert point, // since the operand will be moving along with the def. @@ -384,7 +384,7 @@ static bool OneUseDominatesOtherUses(unsigned Reg, const MachineOperand &OneUse, // // This is needed as a consequence of using implicit get_locals for // uses and implicit set_locals for defs. - if (UseInst->getDesc().getNumDefs() == 0) + if (UseInst->getDesc().getNumDefs() == 0) return false; const MachineOperand &MO = UseInst->getOperand(0); if (!MO.isReg()) |