diff options
author | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2014-12-12 12:41:22 +0000 |
---|---|---|
committer | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2014-12-12 12:41:22 +0000 |
commit | 01236e3eca6b7fba347fb6b88c6fdcd7624d45ad (patch) | |
tree | e6e12cfd7456b4eda6c95027f9d36e8ec49dde7a /clang/unittests/Format/FormatTestJava.cpp | |
parent | 7163d0035996b90e7a131376c500e76ee0e0e415 (diff) | |
download | llvm-01236e3eca6b7fba347fb6b88c6fdcd7624d45ad.zip llvm-01236e3eca6b7fba347fb6b88c6fdcd7624d45ad.tar.gz llvm-01236e3eca6b7fba347fb6b88c6fdcd7624d45ad.tar.bz2 |
[MachineScheduler] Fix for PR21807: minor code difference building with/without -g.
This patch fixes the issue reported as PR21807. There was a minor difference
in the generated code depending on the -g flag.
The cause was that with -g the machine scheduler used a different
scheduling strategy. This decision was based on the number of instructions
in a schedule region and included debug instructions in that count.
This patch fixes the issue in MISched and provides a test.
Patch by Russell Gallop!
llvm-svn: 224118
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions