
We don't want that padding in a module that only contains data, not code. Also fix MCSection::hasInstructions() so it works with the asm streamer too.
10 lines
245 B
LLVM
10 lines
245 B
LLVM
; Test that there is no s_code_end padding if .text is otherwise empty.
|
|
|
|
; RUN: llc -mtriple=amdgcn--amdpal -mcpu=gfx1200 < %s | FileCheck %s --check-prefixes=GCN
|
|
|
|
@globalVar = global i32 37
|
|
|
|
declare amdgpu_ps void @funcDecl()
|
|
|
|
; GCN-NOT: .fill
|