aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/CellSPU
diff options
context:
space:
mode:
authorKalle Raiskila <kalle.raiskila@nokia.com>2011-10-13 11:40:03 +0000
committerKalle Raiskila <kalle.raiskila@nokia.com>2011-10-13 11:40:03 +0000
commit898f336c515e7af607d1ee05a98319912894f24f (patch)
tree2b2436d841336f12656a4df5e359ecaf226dc0c5 /lib/Target/CellSPU
parent4e68054b20725f6ec1cac33630258f749fe5debe (diff)
downloadexternal_llvm-898f336c515e7af607d1ee05a98319912894f24f.zip
external_llvm-898f336c515e7af607d1ee05a98319912894f24f.tar.gz
external_llvm-898f336c515e7af607d1ee05a98319912894f24f.tar.bz2
Mark 'branch indirect' instruction as an indirect branch.
Not having it confused assembly printing of jumptables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141862 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CellSPU')
-rw-r--r--lib/Target/CellSPU/SPUInstrInfo.td6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Target/CellSPU/SPUInstrInfo.td b/lib/Target/CellSPU/SPUInstrInfo.td
index aa6d02c..f76ebd7 100644
--- a/lib/Target/CellSPU/SPUInstrInfo.td
+++ b/lib/Target/CellSPU/SPUInstrInfo.td
@@ -3467,8 +3467,10 @@ let isBranch = 1, isTerminator = 1, hasCtrlDep = 1 in {
[/* no pattern */]>;
// Indirect branch
- def BI:
- BIForm<0b00010101100, "bi\t$func", [(brind R32C:$func)]>;
+ let isIndirectBranch = 1 in {
+ def BI:
+ BIForm<0b00010101100, "bi\t$func", [(brind R32C:$func)]>;
+ }
}
// Conditional branches: