summaryrefslogtreecommitdiff
path: root/test/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-26 21:53:08 +0000
committerChris Lattner <sabre@nondot.org>2010-01-26 21:53:08 +0000
commitc618c8aff46a8ec4d209d041404e780a0caaf77d (patch)
treea935d9ba1ccdfcd4852b459cafe60b7e797907ff /test/CodeGen
parent0b68a009f63412d4aa7c5f2d68b899e6e1dcc257 (diff)
downloadllvm-c618c8aff46a8ec4d209d041404e780a0caaf77d.tar.gz
llvm-c618c8aff46a8ec4d209d041404e780a0caaf77d.tar.bz2
llvm-c618c8aff46a8ec4d209d041404e780a0caaf77d.tar.xz
emit jump table an alias ".set" directives through MCStreamer as
assignments. .set x, a-b is the same as: x = a-b git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94596 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r--test/CodeGen/ARM/aliases.ll2
-rw-r--r--test/CodeGen/X86/aliases.ll3
2 files changed, 3 insertions, 2 deletions
diff --git a/test/CodeGen/ARM/aliases.ll b/test/CodeGen/ARM/aliases.ll
index b2c0314774..31c500756c 100644
--- a/test/CodeGen/ARM/aliases.ll
+++ b/test/CodeGen/ARM/aliases.ll
@@ -1,5 +1,5 @@
; RUN: llc < %s -mtriple=arm-linux-gnueabi -o %t
-; RUN: grep set %t | count 5
+; RUN: grep { = } %t | count 5
; RUN: grep globl %t | count 4
; RUN: grep weak %t | count 1
diff --git a/test/CodeGen/X86/aliases.ll b/test/CodeGen/X86/aliases.ll
index a71aa92222..3020eb3c71 100644
--- a/test/CodeGen/X86/aliases.ll
+++ b/test/CodeGen/X86/aliases.ll
@@ -1,5 +1,6 @@
; RUN: llc < %s -mtriple=i686-pc-linux-gnu -asm-verbose=false -o %t
-; RUN: grep set %t | count 23
+; RUN: grep { = } %t | count 7
+; RUN: grep set %t | count 16
; RUN: grep globl %t | count 6
; RUN: grep weak %t | count 1
; RUN: grep hidden %t | count 1