forked from OSchip/llvm-project
ffaa8a8781
Summary: The value tracking analysis uses function alignment to infer that the least significant bits of function pointers are known to be zero. Unfortunately, this is not correct for ARM targets: the least significant bit of a function pointer stores the ARM/Thumb state information (i.e., the LSB is set for Thumb functions and cleared for ARM functions). The original approach (https://reviews.llvm.org/D44781) introduced a new field for function pointer alignment in the DataLayout structure to address this. But it seems unlikely that optimizations based on function pointer alignment would bring much benefit in practice to justify the additional maintenance burden, so this patch simply assumes that function pointer alignment is always unknown. Reviewers: javed.absar, efriedma Reviewed By: efriedma Subscribers: kristof.beyls, llvm-commits, hfinkel, rogfer01 Differential Revision: https://reviews.llvm.org/D46110 llvm-svn: 331025 |
||
---|---|---|
.. | ||
assume.ll | ||
deref-bitcast-of-gep.ll | ||
dereferenceable-and-aligned.ll | ||
func-ptr-lsb.ll | ||
get-pointer-base-with-const-off.ll | ||
known-bits-from-range-md.ll | ||
known-non-equal.ll | ||
known-nonnull-at.ll | ||
known-power-of-two.ll | ||
known-signbit-shift.ll | ||
knownnonzero-shift.ll | ||
knownzero-addrspacecast.ll | ||
knownzero-shift.ll | ||
memory-dereferenceable.ll | ||
monotonic-phi.ll | ||
non-negative-phi-bits.ll | ||
pr23011.ll | ||
select-pattern.ll | ||
signbits-extract-elt.ll |