summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/ConstantInitBuilder.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2019-05-30 21:10:37 +0000
committerRoman Lebedev <lebedev.ri@gmail.com>2019-05-30 21:10:37 +0000
commit46511d75b5bf3278bff5262181e07e0f977690b8 (patch)
treeeaa5cb6a9ac5f077f5cfe5ce3972a6cbdf6946c1 /clang/lib/CodeGen/ConstantInitBuilder.cpp
parente38a82405b86f6d92da3d6b97f45ecd09bb9b682 (diff)
downloadbcm5719-llvm-46511d75b5bf3278bff5262181e07e0f977690b8.tar.gz
bcm5719-llvm-46511d75b5bf3278bff5262181e07e0f977690b8.zip
[DAGCombine] Limit 'hoist add/sub binop w/ constant op' to non-opaque consts
I don't have a test case for these, but there is a test case for D62266 where, even after all the constant-folding patches, we still end up with endless combine loop. Which makes sense, since we don't constant fold for opaque constants. llvm-svn: 362156
Diffstat (limited to 'clang/lib/CodeGen/ConstantInitBuilder.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud