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 | 821e3334ed3390d931f497300e6a5f1dc21bcfb3 (patch) | |
tree | 6ce6d23d121ee064f82737807150ca127e97d574 /test | |
parent | e2ace509fc1205bed97a5114b13534610d4dbf5e (diff) | |
download | external_llvm-821e3334ed3390d931f497300e6a5f1dc21bcfb3.zip external_llvm-821e3334ed3390d931f497300e6a5f1dc21bcfb3.tar.gz external_llvm-821e3334ed3390d931f497300e6a5f1dc21bcfb3.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')
-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" |