mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
b2d3b0af04
We use both -long-option and --long-option in tests. Switch to --long-option for consistency. In the "llvm-readelf" mode, -long-option is discouraged as it conflicts with grouped short options and it is not accepted by GNU readelf. While updating the tests, change llvm-readobj -s to llvm-readobj -S to reduce confusion ("s" is --section-headers in llvm-readobj but --symbols in llvm-readelf). llvm-svn: 359649
16 lines
648 B
LLVM
16 lines
648 B
LLVM
; RUN: llc -filetype=obj -march=amdgcn -mcpu=gfx801 -mattr=-xnack < %s | llvm-readobj --file-headers - | FileCheck --check-prefixes=NO-XNACK-GFX801 %s
|
|
; RUN: llc -filetype=obj -march=amdgcn -mcpu=gfx802 -mattr=+xnack < %s | llvm-readobj --file-headers - | FileCheck --check-prefixes=XNACK-GFX802 %s
|
|
|
|
; NO-XNACK-GFX801: Flags [
|
|
; NO-XNACK-GFX801-NEXT: EF_AMDGPU_MACH_AMDGCN_GFX801 (0x28)
|
|
; NO-XNACK-GFX801-NEXT: ]
|
|
|
|
; XNACK-GFX802: Flags [
|
|
; XNACK-GFX802-NEXT: EF_AMDGPU_MACH_AMDGCN_GFX802 (0x29)
|
|
; XNACK-GFX802-NEXT: EF_AMDGPU_XNACK (0x100)
|
|
; XNACK-GFX802-NEXT: ]
|
|
|
|
define amdgpu_kernel void @elf_header() {
|
|
ret void
|
|
}
|