diff options
| author | Nate Begeman <natebegeman@mac.com> | 2005-08-16 19:49:35 +0000 |
|---|---|---|
| committer | Nate Begeman <natebegeman@mac.com> | 2005-08-16 19:49:35 +0000 |
| commit | 371e49515dbdeadc01eb22be431fa7e00ba351fa (patch) | |
| tree | 17fc6b4fe1b6c6a031f130d2a108fe431ab5983a /llvm/lib/Target/SparcV8/SparcV8ISelPattern.cpp | |
| parent | bc892265271c009945f0c481f1716ef22febc284 (diff) | |
| download | bcm5719-llvm-371e49515dbdeadc01eb22be431fa7e00ba351fa.tar.gz bcm5719-llvm-371e49515dbdeadc01eb22be431fa7e00ba351fa.zip | |
Implement BR_CC and BRTWOWAY_CC. This allows the removal of a rather nasty
fixme from the PowerPC backend. Emit slightly better code for legalizing
select_cc.
llvm-svn: 22805
Diffstat (limited to 'llvm/lib/Target/SparcV8/SparcV8ISelPattern.cpp')
| -rw-r--r-- | llvm/lib/Target/SparcV8/SparcV8ISelPattern.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/SparcV8/SparcV8ISelPattern.cpp b/llvm/lib/Target/SparcV8/SparcV8ISelPattern.cpp index 346f058cdcf..754c16b6ef5 100644 --- a/llvm/lib/Target/SparcV8/SparcV8ISelPattern.cpp +++ b/llvm/lib/Target/SparcV8/SparcV8ISelPattern.cpp @@ -55,6 +55,7 @@ namespace { addRegisterClass(MVT::f32, V8::FPRCRegisterClass); setOperationAction(ISD::BRCONDTWOWAY, MVT::Other, Expand); + setOperationAction(ISD::BRTWOWAY_CC, MVT::Other, Expand); setOperationAction(ISD::EXTLOAD, MVT::i1, Promote); setOperationAction(ISD::EXTLOAD, MVT::f32, Promote); |

