projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[WebAssembly] Rename BR_IF_ to BR_IF
[oota-llvm.git]
/
lib
/
Target
/
WebAssembly
/
WebAssemblyInstrInfo.cpp
diff --git
a/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp
b/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp
index a18357da19ea41a916de3ce661f35eed143caab6..fe27b1ac669bdb3f2258bb6e92d92dea6263a120 100644
(file)
--- a/
lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp
+++ b/
lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp
@@
-51,7
+51,7
@@
bool WebAssemblyInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB,
default:
// Unhandled instruction; bail out.
return true;
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));
if (HaveCond)
return true;
Cond.push_back(MI.getOperand(1));
@@
-104,7
+104,7
@@
unsigned WebAssemblyInstrInfo::InsertBranch(
return 1;
}
return 1;
}
- BuildMI(&MBB, DL, get(WebAssembly::BR_IF
_
))
+ BuildMI(&MBB, DL, get(WebAssembly::BR_IF))
.addMBB(TBB)
.addOperand(Cond[0]);
if (!FBB)
.addMBB(TBB)
.addOperand(Cond[0]);
if (!FBB)