llvm-project/llvm/test/DebugInfo/ARM
Roman Lebedev 7fa503ef4a
[SROA] rewritePartition()/findCommonType(): if uses have conflicting type, try getTypePartition() before falling back to largest integral use type (PR47592)
And another step towards transformss not introducing inttoptr and/or
ptrtoint casts that weren't there already.

In this case, when load/store uses have conflicting types,
instead of falling back to the iN, we can try to use allocated sub-type.
As disscussed, this isn't the best idea overall (we shouldn't rely on
allocated type), but it works fine as a temporary measure.

I've measured, and @ `-O3` as of vanilla llvm test-suite + RawSpeed,
this results in +0.05% more bitcasts, -5.51% less inttoptr
and -1.05% less ptrtoint (at the end of middle-end opt pipeline)

See https://bugs.llvm.org/show_bug.cgi?id=47592

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D88788
2020-10-07 09:20:19 +03:00
..
PR16736.ll Revert "[DebugInfo] Remove some users of DBG_VALUEs IsIndirect field" 2020-02-06 14:41:40 +00:00
PR26163.ll [DebugInfo] Drop location ranges for variables which exist entirely outside the variable's scope 2020-07-22 12:45:21 +01:00
big-endian-bitfield.ll
big-endian-dump.ll [Object] Change ELFObjectFile<ELFT>::getFileFormatName() to use BFD names 2020-03-16 07:42:04 -07:00
bitfield.ll Remove lit feature object-emission 2020-02-10 15:57:56 -06:00
call-site-info-output.ll [CallSiteInfo] Enable the call site info only for -g + optimizations 2020-03-09 12:12:44 +01:00
cfi-eof-prologue.mir [ARM] Move ConstantIsland and LowOverheadLoops Passes. 2020-03-25 16:49:21 +01:00
constant-dbgloc.ll
entry-value-multi-byte-expr.ll Revert "Reland "[DebugInfo] Enable the debug entry values feature by default"" 2020-02-20 14:41:39 +01:00
float-args.ll Remove lit feature object-emission 2020-02-10 15:57:56 -06:00
float-stack-arg.ll Revert "[DebugInfo] Remove some users of DBG_VALUEs IsIndirect field" 2020-02-06 14:41:40 +00:00
header.ll
illegal-fragment.ll
line.test
lit.local.cfg
little-endian-dump.ll [Object] Change ELFObjectFile<ELFT>::getFileFormatName() to use BFD names 2020-03-16 07:42:04 -07:00
lowerbdgdeclare_vla.ll
multiple-constant-uses-drops-dbgloc.ll
partial-subreg.ll
processes-relocations.ll
prologue_end.ll Reapply "RegAllocFast: Rewrite and improve" 2020-09-30 10:35:25 -04:00
s-super-register.ll
salvage-debug-info.ll
sdag-split-arg.ll
sdag-split-arg1.ll
selectiondag-deadcode.ll
single-constant-use-preserves-dbgloc.ll
split-complex.ll Remove lit feature object-emission 2020-02-10 15:57:56 -06:00
sroa-complex.ll [SROA] rewritePartition()/findCommonType(): if uses have conflicting type, try getTypePartition() before falling back to largest integral use type (PR47592) 2020-10-07 09:20:19 +03:00
tls.ll