aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>2016-06-23 08:13:20 +0000
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>2016-06-23 08:13:20 +0000
commit9806bb40866cd1b8f1de2d70ef1a60eba10f1a94 (patch)
tree32e7bc4238badde414d7a50937a0dbec8321fa8e /clang/lib/CodeGen/CodeGenModule.cpp
parentc5baa43f53b1dd76758c8a1f6b45fc5ed043aea7 (diff)
downloadllvm-9806bb40866cd1b8f1de2d70ef1a60eba10f1a94.zip
llvm-9806bb40866cd1b8f1de2d70ef1a60eba10f1a94.tar.gz
llvm-9806bb40866cd1b8f1de2d70ef1a60eba10f1a94.tar.bz2
[IfConversion] Bugfix: Don't use undef flag while adding use operands.
IfConversion used to always add the undef flag when adding a use operand on a newly predicated instruction. This would be an operand for the register being conditionally redefined. Due to the undef flag, the liveness of this register prior to the predicated instruction would get lost. This patch changes this so that such use operands are added only when the register is live, without the undef flag. Reviewed by Quentin Colombet. http://reviews.llvm.org/D209077 llvm-svn: 273545
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions