Recommit CodeGen: Fix assertion in machine inst sheduler due to llvm.dbg.value
authorYaxun Liu <Yaxun.Liu@amd.com>
Fri, 15 Dec 2017 03:56:57 +0000 (03:56 +0000)
committerYaxun Liu <Yaxun.Liu@amd.com>
Fri, 15 Dec 2017 03:56:57 +0000 (03:56 +0000)
commitc41e2f6e7b71530bf1b3fed95e0f67ddbba29d3f
treef61a9cfeee07ada16e54862c680ea6a73c08d7db
parentb99a7102c13bd6bf629789750d2e5c08e9862da1
Recommit CodeGen: Fix assertion in machine inst sheduler due to llvm.dbg.value

The regression on ppc64 was not due to this commit.

llvm-svn: 320788
llvm/lib/CodeGen/MachineScheduler.cpp
llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
llvm/test/CodeGen/AMDGPU/debug-value.ll [new file with mode: 0644]