Reapply "[MachineScheduler] Fix for PR21807: minor code difference building with...
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Fri, 12 Dec 2014 15:09:58 +0000 (15:09 +0000)
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Fri, 12 Dec 2014 15:09:58 +0000 (15:09 +0000)
commitd65fd9facd96099e62e46c5897c81764c65c61da
treeed8450040439f51e808ca8a3ddccf38e4f5a0161
parent78943bcc181245279c58080cfc1171a5b19c4ee9
Reapply "[MachineScheduler] Fix for PR21807: minor code difference building with/without -g."

This reapplies r224118 with a fix for test 'misched-code-difference-with-debug.ll'.
That test was failing on some buildbots because it was x86 specific but it was
missing a target triple.
Added an explicit triple to test misched-code-difference-with-debug.ll.

llvm-svn: 224126
llvm/lib/CodeGen/MachineScheduler.cpp
llvm/test/CodeGen/X86/misched-code-difference-with-debug.ll [new file with mode: 0644]