aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2015-11-13 00:46:31 +0000
committerDan Gohman <dan433584@gmail.com>2015-11-13 00:46:31 +0000
commit231244c304f4a49ccb63493302a8876a2672be69 (patch)
treee282ca7f068cb4b029d6352ea4e07b1ab950ed9c /llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp
parent7828b1e604f22e81815a3c2fc357e319f2807bb8 (diff)
downloadllvm-231244c304f4a49ccb63493302a8876a2672be69.zip
llvm-231244c304f4a49ccb63493302a8876a2672be69.tar.gz
llvm-231244c304f4a49ccb63493302a8876a2672be69.tar.bz2
[WebAssembly] Rename BR_IF_ to BR_IF
With MC-based instruction printing, we no longer need instruction names to mangle in hints about how they should be printed. llvm-svn: 252987
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp')
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp
index a18357d..fe27b1a 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp
@@ -51,7 +51,7 @@ bool WebAssemblyInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB,
default:
// Unhandled instruction; bail out.
return true;
- case WebAssembly::BR_IF_:
+ case WebAssembly::BR_IF:
if (HaveCond)
return true;
Cond.push_back(MI.getOperand(1));
@@ -104,7 +104,7 @@ unsigned WebAssemblyInstrInfo::InsertBranch(
return 1;
}
- BuildMI(&MBB, DL, get(WebAssembly::BR_IF_))
+ BuildMI(&MBB, DL, get(WebAssembly::BR_IF))
.addMBB(TBB)
.addOperand(Cond[0]);
if (!FBB)