OSDN Git Service

[AMDGPU] Add insert nops pass based on subtarget features instead of cl::opt
authorKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>
Mon, 18 Apr 2016 16:28:23 +0000 (16:28 +0000)
committerKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>
Mon, 18 Apr 2016 16:28:23 +0000 (16:28 +0000)
commit5d42fbaf4c975eb393a41316d8354f312b3cf49a
treeea706aaef97050eabad0504598031e3d0dd804d6
parent7d71f38955c6b68de137f57334f51449bfe90c64
[AMDGPU] Add insert nops pass based on subtarget features instead of cl::opt
Also,
- Skip pass if machine module does not have debug info
- Minor comment changes
- Added test

Differential Revision: http://reviews.llvm.org/D19079

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266626 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPU.td
lib/Target/AMDGPU/AMDGPUSubtarget.cpp
lib/Target/AMDGPU/AMDGPUSubtarget.h
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
lib/Target/AMDGPU/SIInsertNopsPass.cpp
test/CodeGen/AMDGPU/debugger_insert_nops.ll [new file with mode: 0644]