]> granicus.if.org Git - llvm/commit
Call EmitFunctionHeader just before EmitFunctionBody.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 17 Mar 2015 14:34:42 +0000 (14:34 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 17 Mar 2015 14:34:42 +0000 (14:34 +0000)
commit99739705ac73470caebdcce6fe6e0edc829c74a0
tree8a925af7b760c6469e654c83e2e5938e339861de
parente9141ce3034b99aa726a77efce466d6554151f85
Call EmitFunctionHeader just before EmitFunctionBody.

This avoids switching to .AMDGPU.config and back and hardcoding the
section it switches back to.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232479 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUAsmPrinter.cpp
test/CodeGen/R600/call_fs.ll
test/CodeGen/R600/elf.ll
test/CodeGen/R600/empty-function.ll
test/CodeGen/R600/hsa.ll
test/CodeGen/R600/lds-size.ll
test/CodeGen/R600/local-memory-two-objects.ll
test/CodeGen/R600/local-memory.ll
test/CodeGen/R600/sext-in-reg.ll