diff options
| author | Anton Korobeynikov <anton@korobeynikov.info> | 2018-11-15 12:29:43 +0000 |
|---|---|---|
| committer | Anton Korobeynikov <anton@korobeynikov.info> | 2018-11-15 12:29:43 +0000 |
| commit | 49045c6a0d2cfd7fe844067105aef21da2286f8c (patch) | |
| tree | 35813f68c708fe8613752e006c24a39ad01bff73 /llvm/test/CodeGen/MSP430/Inst16mi.ll | |
| parent | 5e7486f518fe796227ebdac12c558f34c41aef32 (diff) | |
| download | bcm5719-llvm-49045c6a0d2cfd7fe844067105aef21da2286f8c.tar.gz bcm5719-llvm-49045c6a0d2cfd7fe844067105aef21da2286f8c.zip | |
[MSP430] Add MC layer
Reapply r346374 with the fixes for modules build.
Original summary:
This change implements assembler parser, code emitter, ELF object writer
and disassembler for the MSP430 ISA. Also, more instruction forms are added
to the target description.
Patch by Michael Skvortsov!
llvm-svn: 346948
Diffstat (limited to 'llvm/test/CodeGen/MSP430/Inst16mi.ll')
| -rw-r--r-- | llvm/test/CodeGen/MSP430/Inst16mi.ll | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/MSP430/Inst16mi.ll b/llvm/test/CodeGen/MSP430/Inst16mi.ll index 38c16f2ba23..bb99e28a1ba 100644 --- a/llvm/test/CodeGen/MSP430/Inst16mi.ll +++ b/llvm/test/CodeGen/MSP430/Inst16mi.ll @@ -6,14 +6,14 @@ target triple = "msp430-generic-generic" define void @mov() nounwind { ; CHECK-LABEL: mov: -; CHECK: mov.w #2, &foo +; CHECK: mov #2, &foo store i16 2, i16 * @foo ret void } define void @add() nounwind { ; CHECK-LABEL: add: -; CHECK: add.w #2, &foo +; CHECK: incd &foo %1 = load i16, i16* @foo %2 = add i16 %1, 2 store i16 %2, i16 * @foo @@ -22,7 +22,7 @@ define void @add() nounwind { define void @and() nounwind { ; CHECK-LABEL: and: -; CHECK: and.w #2, &foo +; CHECK: and #2, &foo %1 = load i16, i16* @foo %2 = and i16 %1, 2 store i16 %2, i16 * @foo @@ -31,7 +31,7 @@ define void @and() nounwind { define void @bis() nounwind { ; CHECK-LABEL: bis: -; CHECK: bis.w #2, &foo +; CHECK: bis #2, &foo %1 = load i16, i16* @foo %2 = or i16 %1, 2 store i16 %2, i16 * @foo @@ -40,7 +40,7 @@ define void @bis() nounwind { define void @xor() nounwind { ; CHECK-LABEL: xor: -; CHECK: xor.w #2, &foo +; CHECK: xor #2, &foo %1 = load i16, i16* @foo %2 = xor i16 %1, 2 store i16 %2, i16 * @foo |

