aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp
diff options
context:
space:
mode:
authorJuergen Ributzka <juergen@apple.com>2014-03-25 18:01:20 +0000
committerJuergen Ributzka <juergen@apple.com>2014-03-25 18:01:20 +0000
commite2e16844f5aa66fa95ac427e55648df9950493ed (patch)
tree93eedd57265e1238163821c170f8c737da028b5d /llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp
parentd8d49ba20e58691914a43d54b8b479c8f36cc0c3 (diff)
downloadllvm-e2e16844f5aa66fa95ac427e55648df9950493ed.zip
llvm-e2e16844f5aa66fa95ac427e55648df9950493ed.tar.gz
llvm-e2e16844f5aa66fa95ac427e55648df9950493ed.tar.bz2
[DAG] Keep the opaque constant flag when performing unary constant folding operations.
Usually opaque constants shouldn't be folded, unless they are simple unary operations that don't create new constants. Although this shouldn't drop the opaque constant flag. This commit fixes this. Related to <rdar://problem/14774662> llvm-svn: 204737
Diffstat (limited to 'llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp')
0 files changed, 0 insertions, 0 deletions