projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
on darwin<10, fallback to .weak_definition (PPC,X86)
[oota-llvm.git]
/
lib
/
CodeGen
/
IfConversion.cpp
diff --git
a/lib/CodeGen/IfConversion.cpp
b/lib/CodeGen/IfConversion.cpp
index b7297298da63a6aa1cbfc0610eed7c3b73ea0f29..e2d0eb44da06d45ec68fc42d217e7de67f14896a 100644
(file)
--- a/
lib/CodeGen/IfConversion.cpp
+++ b/
lib/CodeGen/IfConversion.cpp
@@
-1049,13
+1049,13
@@
bool IfConverter::IfConvertSimple(BBInfo &BBI, IfcvtKind Kind) {
// Initialize liveins to the first BB. These are potentiall redefined by
// predicated instructions.
Redefs.init(TRI);
// Initialize liveins to the first BB. These are potentiall redefined by
// predicated instructions.
Redefs.init(TRI);
- Redefs.addLiveIns(
*(CvtBBI->BB)
, *TRI);
- Redefs.addLiveIns(
*(NextBBI->BB)
, *TRI);
+ Redefs.addLiveIns(
CvtBBI->BB
, *TRI);
+ Redefs.addLiveIns(
NextBBI->BB
, *TRI);
// Compute a set of registers which must not be killed by instructions in
// BB1: This is everything live-in to BB2.
DontKill.init(TRI);
// Compute a set of registers which must not be killed by instructions in
// BB1: This is everything live-in to BB2.
DontKill.init(TRI);
- DontKill.addLiveIns(
*(NextBBI->BB)
, *TRI);
+ DontKill.addLiveIns(
NextBBI->BB
, *TRI);
if (CvtBBI->BB->pred_size() > 1) {
BBI.NonPredSize -= TII->RemoveBranch(*BBI.BB);
if (CvtBBI->BB->pred_size() > 1) {
BBI.NonPredSize -= TII->RemoveBranch(*BBI.BB);
@@
-1154,8
+1154,8
@@
bool IfConverter::IfConvertTriangle(BBInfo &BBI, IfcvtKind Kind) {
// Initialize liveins to the first BB. These are potentially redefined by
// predicated instructions.
Redefs.init(TRI);
// Initialize liveins to the first BB. These are potentially redefined by
// predicated instructions.
Redefs.init(TRI);
- Redefs.addLiveIns(
*(CvtBBI->BB)
, *TRI);
- Redefs.addLiveIns(
*(NextBBI->BB)
, *TRI);
+ Redefs.addLiveIns(
CvtBBI->BB
, *TRI);
+ Redefs.addLiveIns(
NextBBI->BB
, *TRI);
DontKill.clear();
DontKill.clear();
@@
-1284,7
+1284,7
@@
bool IfConverter::IfConvertDiamond(BBInfo &BBI, IfcvtKind Kind,
// Initialize liveins to the first BB. These are potentially redefined by
// predicated instructions.
Redefs.init(TRI);
// Initialize liveins to the first BB. These are potentially redefined by
// predicated instructions.
Redefs.init(TRI);
- Redefs.addLiveIns(
*(BBI1->BB)
, *TRI);
+ Redefs.addLiveIns(
BBI1->BB
, *TRI);
// Remove the duplicated instructions at the beginnings of both paths.
MachineBasicBlock::iterator DI1 = BBI1->BB->begin();
// Remove the duplicated instructions at the beginnings of both paths.
MachineBasicBlock::iterator DI1 = BBI1->BB->begin();