[llvm] r267435 - [Hexagon] Use llvm-mc instead of llc in an MC testcase

Krzysztof Parzyszek via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 25 11:09:37 PDT 2016


Author: kparzysz
Date: Mon Apr 25 13:09:36 2016
New Revision: 267435

URL: http://llvm.org/viewvc/llvm-project?rev=267435&view=rev
Log:
[Hexagon] Use llvm-mc instead of llc in an MC testcase

Remember to svn add the new file.

Added:
    llvm/trunk/test/MC/Hexagon/elf-flags.s

Added: llvm/trunk/test/MC/Hexagon/elf-flags.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Hexagon/elf-flags.s?rev=267435&view=auto
==============================================================================
--- llvm/trunk/test/MC/Hexagon/elf-flags.s (added)
+++ llvm/trunk/test/MC/Hexagon/elf-flags.s Mon Apr 25 13:09:36 2016
@@ -0,0 +1,9 @@
+# RUN: llvm-mc -arch=hexagon -mcpu=hexagonv4 --filetype=obj %s -o - | llvm-readobj -file-headers -elf-output-style=GNU | FileCheck --check-prefix=CHECK-V4 %s
+# RUN: llvm-mc -arch=hexagon -mcpu=hexagonv5 --filetype=obj %s -o - | llvm-readobj -file-headers -elf-output-style=GNU | FileCheck --check-prefix=CHECK-V5 %s
+# RUN: llvm-mc -arch=hexagon -mcpu=hexagonv55 --filetype=obj %s -o - | llvm-readobj -file-headers -elf-output-style=GNU | FileCheck --check-prefix=CHECK-V55 %s
+# RUN: llvm-mc -arch=hexagon -mcpu=hexagonv60 --filetype=obj %s -o - | llvm-readobj -file-headers -elf-output-style=GNU | FileCheck --check-prefix=CHECK-V60 %s
+
+# CHECK-V4: Flags: 0x3
+# CHECK-V5: Flags: 0x4
+# CHECK-V55: Flags: 0x5
+# CHECK-V60: Flags: 0x60




More information about the llvm-commits mailing list