[PATCH] D17454: Insert nop for each high level source statement
Konstantin Zhuravlyov via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 19 09:12:16 PST 2016
kzhuravl created this revision.
kzhuravl added reviewers: tstellarAMD, arsenm.
kzhuravl added a subscriber: llvm-commits.
Herald added a subscriber: arsenm.
AMDGPUInsertDebugNops pass inserts DEBUG_NOP pseudo instructions before register allocation. AMDGPULowerDebugNops pass lowers DEBUG_NOP instructions to S_NOP instructions before machine code is emitted.
S_NOP for each high level source statement is needed for tools (i.e. debugger, profiler), which overwrite S_NOPs with S_TRAPs as they see fit.
http://reviews.llvm.org/D17454
Files:
lib/Target/AMDGPU/AMDGPU.h
lib/Target/AMDGPU/AMDGPUInsertNopsPass.cpp
lib/Target/AMDGPU/AMDGPUInstrInfo.h
lib/Target/AMDGPU/AMDGPUInstructions.td
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
lib/Target/AMDGPU/CMakeLists.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17454.48502.patch
Type: text/x-patch
Size: 10261 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160219/dcbfbfe7/attachment.bin>
More information about the llvm-commits
mailing list