summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/TreeTransform.h
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2014-10-17 11:56:00 +0000
committerHal Finkel <hfinkel@anl.gov>2014-10-17 11:56:00 +0000
commitdd38c0b876dc5f1525b1e2e43e46e0e43d229c5b (patch)
treec8526080141387870dc3e0c028ef1b4aa9b24710 /clang/lib/Sema/TreeTransform.h
parentaa3e9f5a0f45dd0736c831dfb2607df05dab627c (diff)
downloadbcm5719-llvm-dd38c0b876dc5f1525b1e2e43e46e0e43d229c5b.tar.gz
bcm5719-llvm-dd38c0b876dc5f1525b1e2e43e46e0e43d229c5b.zip
[DSE] Remove no-data-layout-only type-based overlap checking
DSE's overlap checking contained special logic, used only when no DataLayout was available, which inferred a complete overwrite when the pointee types were equal. This logic seems fine for regular loads/stores, but does not work for memcpy and friends. Instead of fixing this, I'm just removing it. Philosophically, transformations should not contain enhanced behavior used only when data layout is lacking (data layout should be strictly additive), and maintaining these rarely-tested code paths seems not worthwhile at this stage. Credit to Aliaksei Zasenka for the bug report and the diagnosis. The test case (slightly reduced from that provided by Aliaksei) replaces the original contents of test/Transforms/DeadStoreElimination/no-targetdata.ll -- a few other tests have been updated to have a data layout. llvm-svn: 220035
Diffstat (limited to 'clang/lib/Sema/TreeTransform.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud