aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode
diff options
context:
space:
mode:
authorPete Cooper <peter_cooper@apple.com>2015-06-12 16:13:54 +0000
committerPete Cooper <peter_cooper@apple.com>2015-06-12 16:13:54 +0000
commit3664253c52c05a81a4ebf9c6d1e4f4ab75ecd980 (patch)
tree73a13e6e64f628a03cbf3946311c355fb244e360 /llvm/lib/Bitcode
parent5f54812cb0132f935b352b616705ac08db52a0a0 (diff)
downloadllvm-3664253c52c05a81a4ebf9c6d1e4f4ab75ecd980.zip
llvm-3664253c52c05a81a4ebf9c6d1e4f4ab75ecd980.tar.gz
llvm-3664253c52c05a81a4ebf9c6d1e4f4ab75ecd980.tar.bz2
Don't create instructions from ConstantExpr's in CFLAliasAnalysis.
The CFLAA code currently calls ConstantExpr::getAsInstruction which creates an instruction from a constant expr. We then pass that instruction to the InstVisitor to analyze it. Its not necessary to create these instructions as we can just cast from Constant to Operator in the visitor. This is how other InstVisitor’s such as SelectionDAGBuilder handle ConstantExpr. llvm-svn: 239616
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions