diff options
author | Heejin Ahn <aheejin@gmail.com> | 2018-09-05 01:27:38 +0000 |
---|---|---|
committer | Heejin Ahn <aheejin@gmail.com> | 2018-09-05 01:27:38 +0000 |
commit | f208f6311b6ea3468b35deab208e307f8a59781b (patch) | |
tree | 24a733e46980c1385f08e5c6892bdfd85341cd1d /llvm/lib/Target/WebAssembly/WebAssemblyReplacePhysRegs.cpp | |
parent | 5d05be84b7cdcb9160d49167ec78d4555a18f405 (diff) | |
download | bcm5719-llvm-f208f6311b6ea3468b35deab208e307f8a59781b.tar.gz bcm5719-llvm-f208f6311b6ea3468b35deab208e307f8a59781b.zip |
[WebAssembly] clang-format (NFC)
Summary: This patch runs clang-format on all wasm-only files.
Reviewers: aardappel, dschuff, sunfish, tlively
Subscribers: MatzeB, sbc100, jgravelle-google, llvm-commits
Differential Revision: https://reviews.llvm.org/D51447
llvm-svn: 341439
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyReplacePhysRegs.cpp')
-rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyReplacePhysRegs.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyReplacePhysRegs.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyReplacePhysRegs.cpp index f432b367d15..e5a3e47a3bc 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyReplacePhysRegs.cpp +++ b/llvm/lib/Target/WebAssembly/WebAssemblyReplacePhysRegs.cpp @@ -54,8 +54,8 @@ private: char WebAssemblyReplacePhysRegs::ID = 0; INITIALIZE_PASS(WebAssemblyReplacePhysRegs, DEBUG_TYPE, - "Replace physical registers with virtual registers", - false, false) + "Replace physical registers with virtual registers", false, + false) FunctionPass *llvm::createWebAssemblyReplacePhysRegs() { return new WebAssemblyReplacePhysRegs(); @@ -86,7 +86,7 @@ bool WebAssemblyReplacePhysRegs::runOnMachineFunction(MachineFunction &MF) { // Replace explicit uses of the physical register with a virtual register. const TargetRegisterClass *RC = TRI.getMinimalPhysRegClass(PReg); unsigned VReg = WebAssembly::NoRegister; - for (auto I = MRI.reg_begin(PReg), E = MRI.reg_end(); I != E; ) { + for (auto I = MRI.reg_begin(PReg), E = MRI.reg_end(); I != E;) { MachineOperand &MO = *I++; if (!MO.isImplicit()) { if (VReg == WebAssembly::NoRegister) |