projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Print "..." instead of all the uninteresting register clobbers on call
[oota-llvm.git]
/
include
/
llvm
/
CodeGen
/
MachineRegisterInfo.h
diff --git
a/include/llvm/CodeGen/MachineRegisterInfo.h
b/include/llvm/CodeGen/MachineRegisterInfo.h
index 18e60200b0991d3c8e5194096cd74b32201b6fa5..c55cb3227af6d54ac7675a29c77cac8bb045d551 100644
(file)
--- a/
include/llvm/CodeGen/MachineRegisterInfo.h
+++ b/
include/llvm/CodeGen/MachineRegisterInfo.h
@@
-243,6
+243,12
@@
public:
return true;
return false;
}
+ bool isLiveOut(unsigned Reg) const {
+ for (liveout_iterator I = liveout_begin(), E = liveout_end(); I != E; ++I)
+ if (*I == Reg)
+ return true;
+ return false;
+ }
private:
void HandleVRegListReallocation();