This is a fix for PR# 19051. I noticed code gen differences due to code motion when...
authorEkaterina Romanova <katya_romanova@playstation.sony.com>
Wed, 26 Mar 2014 22:15:28 +0000 (22:15 +0000)
committerEkaterina Romanova <katya_romanova@playstation.sony.com>
Wed, 26 Mar 2014 22:15:28 +0000 (22:15 +0000)
commit899a605fc19df8f6b80f2e5e55512d04aee10c5a
tree78c6dcfbe3a54a976a44fb404b3caadb5fcbe7ec
parent3d7d0bc71a858bdd251a84f7a58a379894afe118
This is a fix for PR# 19051. I noticed code gen differences due to code motion when running tests with and without the debug info at O2. The problem is in branch folding. A loop wanted to skip the debug info, but actually it didn't do so.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204865 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/BranchFolding.cpp
test/CodeGen/X86/dbg-changes-codegen-branch-folding.ll [new file with mode: 0644]