summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetMachine/Sparc
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2001-07-31 21:50:29 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2001-07-31 21:50:29 +0000
commitc746fbb806b41f839ae8981c058cdff44e2de149 (patch)
tree65db31d64a0046a82fb33b2a0fc09b8e1b9be62c /llvm/lib/CodeGen/TargetMachine/Sparc
parent1c73bc1c1fcda3eb69ceb32de3841093c0cc581d (diff)
downloadbcm5719-llvm-c746fbb806b41f839ae8981c058cdff44e2de149.tar.gz
bcm5719-llvm-c746fbb806b41f839ae8981c058cdff44e2de149.zip
Added tree nodes for Phi instructions.
llvm-svn: 338
Diffstat (limited to 'llvm/lib/CodeGen/TargetMachine/Sparc')
-rw-r--r--llvm/lib/CodeGen/TargetMachine/Sparc/Sparc.burg4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TargetMachine/Sparc/Sparc.burg b/llvm/lib/CodeGen/TargetMachine/Sparc/Sparc.burg
index 193c6e993e6..35a00372ac1 100644
--- a/llvm/lib/CodeGen/TargetMachine/Sparc/Sparc.burg
+++ b/llvm/lib/CodeGen/TargetMachine/Sparc/Sparc.burg
@@ -44,7 +44,7 @@ typedef BasicTreeNode* NODEPTR_TYPE;
%term GetElemPtr=24
%term GetElemPtrIdx=124 /* getElemPtr with index vector */
- /* 25 is PHINode, which is never a real tree node */
+%term Phi=25
%term Cast=26 /* cast that will be ignored. others are made explicit */
%term ToBoolTy=126
@@ -163,6 +163,7 @@ reg: Xor(reg,not) = 140 (0); /* cost is counted for not */
boolconst: SetCC(reg,Constant) = 41 (1);
bool: SetCC(reg,reg) = 42 (1);
boolreg: VReg = 43 (0);
+boolreg: Constant = 44 (0);
/*
* Memory access instructions
@@ -183,6 +184,7 @@ reg: AllocaN(reg) = 58 (1);
reg: Call = 61 (0);
reg: Shl(reg,reg) = 62 (1);
reg: Shr(reg,reg) = 63 (1);
+reg: Phi(reg,reg) = 64 (0);
/*
* Finally, leaf nodes of expression trees (other than boolreg)
OpenPOWER on IntegriCloud