diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-08-31 08:09:28 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-08-31 08:09:28 +0000 |
commit | d79f43204be2893e74872f1062e2a44f023d39e1 (patch) | |
tree | 6ce6d23d121ee064f82737807150ca127e97d574 /test/MC | |
parent | f4c67959b5ea0bbd3a39085c91c2d3162c6fd973 (diff) | |
download | external_llvm-d79f43204be2893e74872f1062e2a44f023d39e1.zip external_llvm-d79f43204be2893e74872f1062e2a44f023d39e1.tar.gz external_llvm-d79f43204be2893e74872f1062e2a44f023d39e1.tar.bz2 |
llvm-mc: Pass values to MCStreamer as MCExprs, not MCValues.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80578 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/AsmParser/conditional_asm.s | 2 | ||||
-rw-r--r-- | test/MC/AsmParser/exprs-invalid.s | 5 | ||||
-rw-r--r-- | test/MC/AsmParser/labels.s | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/test/MC/AsmParser/conditional_asm.s b/test/MC/AsmParser/conditional_asm.s index f619ef9..b9ff670 100644 --- a/test/MC/AsmParser/conditional_asm.s +++ b/test/MC/AsmParser/conditional_asm.s @@ -1,6 +1,6 @@ # RUN: llvm-mc -triple i386-unknown-unknown %s -I %p | FileCheck %s -# CHECK: .byte 2 +# CHECK: .byte (1 + 1) .if 1+2 .if 1-1 .byte 1 diff --git a/test/MC/AsmParser/exprs-invalid.s b/test/MC/AsmParser/exprs-invalid.s index 4accc39..5358fc5 100644 --- a/test/MC/AsmParser/exprs-invalid.s +++ b/test/MC/AsmParser/exprs-invalid.s @@ -1,6 +1,11 @@ // RUN: not llvm-mc -triple i386-unknown-unknown %s 2> %t // RUN: FileCheck -input-file %t %s +// Currently XFAIL'ed, since the front-end isn't validating this. Figure out the +// right resolution. +// +// XFAIL: * + .text a: .data diff --git a/test/MC/AsmParser/labels.s b/test/MC/AsmParser/labels.s index 603d050..ac8025f 100644 --- a/test/MC/AsmParser/labels.s +++ b/test/MC/AsmParser/labels.s @@ -52,7 +52,7 @@ foo: // CHECX: .lsym "a 8",1 // .lsym "a 8", 1 -// CHECK: "a 9" = a - b +// CHECK: "a 9" = (a - b) .set "a 9", a - b // CHECK: .long "a 9" |