MISched: Fix moving stores across barriers
authorTom Stellard <thomas.stellard@amd.com>
Mon, 8 Dec 2014 23:36:48 +0000 (23:36 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 8 Dec 2014 23:36:48 +0000 (23:36 +0000)
commit653ef32216953f38c20706cc6824a552487e8d08
treea6a13885411db2432651b3ee46b9f463443665f8
parent73ed2dcdac9460b110ae2fbe89bdf0793edcea09
MISched: Fix moving stores across barriers

This fixes an issue with ScheduleDAGInstrs::buildSchedGraph
where stores without an underlying object would not be added
as a predecessor to the current BarrierChain.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223717 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/ScheduleDAGInstrs.cpp
test/CodeGen/R600/store-barrier.ll [new file with mode: 0644]