diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2004-06-17 22:33:57 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-06-17 22:33:57 +0000 |
commit | fc7fa3121162e2b50b308fbc2945c1082450b107 (patch) | |
tree | 7ed29bbb384ab0c4cce2963f72fe4339c3bdefc3 /lib/Target | |
parent | afe16e174264e3902bf376d7603b0cba2a0659bf (diff) | |
download | external_llvm-fc7fa3121162e2b50b308fbc2945c1082450b107.zip external_llvm-fc7fa3121162e2b50b308fbc2945c1082450b107.tar.gz external_llvm-fc7fa3121162e2b50b308fbc2945c1082450b107.tar.bz2 |
Recognize more branches.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14207 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/Sparc/DelaySlotFiller.cpp | 11 | ||||
-rw-r--r-- | lib/Target/SparcV8/DelaySlotFiller.cpp | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/lib/Target/Sparc/DelaySlotFiller.cpp b/lib/Target/Sparc/DelaySlotFiller.cpp index 10449ad..af9b25c 100644 --- a/lib/Target/Sparc/DelaySlotFiller.cpp +++ b/lib/Target/Sparc/DelaySlotFiller.cpp @@ -54,6 +54,17 @@ FunctionPass *llvm::createSparcV8DelaySlotFillerPass (TargetMachine &tm) { static bool hasDelaySlot (unsigned Opcode) { switch (Opcode) { + case V8::BA: + case V8::BCC: + case V8::BCS: + case V8::BE: + case V8::BG: + case V8::BGE: + case V8::BGU: + case V8::BL: + case V8::BLE: + case V8::BLEU: + case V8::BNE: case V8::CALL: case V8::RETL: return true; diff --git a/lib/Target/SparcV8/DelaySlotFiller.cpp b/lib/Target/SparcV8/DelaySlotFiller.cpp index 10449ad..af9b25c 100644 --- a/lib/Target/SparcV8/DelaySlotFiller.cpp +++ b/lib/Target/SparcV8/DelaySlotFiller.cpp @@ -54,6 +54,17 @@ FunctionPass *llvm::createSparcV8DelaySlotFillerPass (TargetMachine &tm) { static bool hasDelaySlot (unsigned Opcode) { switch (Opcode) { + case V8::BA: + case V8::BCC: + case V8::BCS: + case V8::BE: + case V8::BG: + case V8::BGE: + case V8::BGU: + case V8::BL: + case V8::BLE: + case V8::BLEU: + case V8::BNE: case V8::CALL: case V8::RETL: return true; |