aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2021-06-24 09:08:57 -0700
committerCraig Topper <craig.topper@sifive.com>2021-06-24 10:09:36 -0700
commit03f9e04bc35c674337ec04d629260b4a283c1f25 (patch)
treebfeeaf826a6efd373d3a484ccc0be1d01ca3fe98 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
parentaac4de989ee98605f1ce918c8e541c9be0f52324 (diff)
downloadllvm-03f9e04bc35c674337ec04d629260b4a283c1f25.zip
llvm-03f9e04bc35c674337ec04d629260b4a283c1f25.tar.gz
llvm-03f9e04bc35c674337ec04d629260b4a283c1f25.tar.bz2
[TargetLowering][ARM] Don't alter opaque constants in TargetLowering::ShrinkDemandedConstant.
We don't constant fold based on demanded bits elsewhere in SimplifyDemandedBits, so I don't think we should shrink them either. The affected ARM test changes because a constant become non-opaque and eventually enabled some constant folding. This no longer happens. I checked and InstCombine is able to simplify this test. I'm not sure exactly what it was trying to test. Reviewed By: lebedev.ri, dmgreen Differential Revision: https://reviews.llvm.org/D104832
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions