aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-08-07 22:06:48 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-08-07 22:06:48 +0000
commit45edb704d39ccb2681026f475c10b5d4f06ac9a4 (patch)
tree61a98b57221f9685403617529992ad72fa628fc5 /llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp
parent0a8cfc79b7f43720476ef6e45b416dfb5d9cd823 (diff)
downloadllvm-45edb704d39ccb2681026f475c10b5d4f06ac9a4.zip
llvm-45edb704d39ccb2681026f475c10b5d4f06ac9a4.tar.gz
llvm-45edb704d39ccb2681026f475c10b5d4f06ac9a4.tar.bz2
When building a conditional operator where one operand is a throw-expression
and the other is a glvalue of class type, don't forget to copy-initialize a temporary when performing the lvalue-to-rvalue conversion on the glvalue. Strangely, DefaultLvalueConversions misses this part of the lvalue-to-rvalue conversions. llvm-svn: 161450
Diffstat (limited to 'llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp')
0 files changed, 0 insertions, 0 deletions