summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/ARC/ARCInstrFormats.td2
-rw-r--r--llvm/lib/Target/ARC/ARCInstrInfo.td14
2 files changed, 8 insertions, 8 deletions
diff --git a/llvm/lib/Target/ARC/ARCInstrFormats.td b/llvm/lib/Target/ARC/ARCInstrFormats.td
index bddef6b9500..50edddd4ea9 100644
--- a/llvm/lib/Target/ARC/ARCInstrFormats.td
+++ b/llvm/lib/Target/ARC/ARCInstrFormats.td
@@ -29,7 +29,7 @@ class immS<int BSz> : Operand<i32>, PatLeaf<(imm),
let DecoderMethod = "DecodeSignedOperand<"#BSz#">";
}
-// e.g. s3 field may encode the signed integers values -1 .. 6
+// e.g. s3 field may encode the signed integers values -1 .. 6
// using binary codes 111, 000, 001, 010, 011, 100, 101, and 110, respectively
class immC<int BSz> : Operand<i32>, PatLeaf<(imm),
"\n return isInt<"#BSz#">(N->getSExtValue());"> {
diff --git a/llvm/lib/Target/ARC/ARCInstrInfo.td b/llvm/lib/Target/ARC/ARCInstrInfo.td
index e4ad162edee..edd853fe150 100644
--- a/llvm/lib/Target/ARC/ARCInstrInfo.td
+++ b/llvm/lib/Target/ARC/ARCInstrInfo.td
@@ -534,13 +534,13 @@ let isBranch = 1 in {
def BEQ_S : F16_BCC_s10<0b01, "beq_s">;
def BNE_S : F16_BCC_s10<0b10, "bne_s">;
- def BGT_S : F16_BCC_s7<0b000, "bgt_s">;
- def BGE_S : F16_BCC_s7<0b001, "bge_s">;
- def BLT_S : F16_BCC_s7<0b010, "blt_s">;
- def BLE_S : F16_BCC_s7<0b011, "ble_s">;
- def BHI_S : F16_BCC_s7<0b100, "bhi_s">;
- def BHS_S : F16_BCC_s7<0b101, "bhs_s">;
- def BLO_S : F16_BCC_s7<0b110, "blo_s">;
+ def BGT_S : F16_BCC_s7<0b000, "bgt_s">;
+ def BGE_S : F16_BCC_s7<0b001, "bge_s">;
+ def BLT_S : F16_BCC_s7<0b010, "blt_s">;
+ def BLE_S : F16_BCC_s7<0b011, "ble_s">;
+ def BHI_S : F16_BCC_s7<0b100, "bhi_s">;
+ def BHS_S : F16_BCC_s7<0b101, "bhs_s">;
+ def BLO_S : F16_BCC_s7<0b110, "blo_s">;
def BLS_S : F16_BCC_s7<0b111, "bls_s">;
} // let isBranch
OpenPOWER on IntegriCloud