mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-24 13:33:37 +02:00
7bae0ef103
Currently LLVM assumes that a pointer addrspacecasted to a different addr space is equivalent to trunc or zext bitwise, which is not true. For example, in amdgcn target, when a null pointer is addrspacecasted from addr space 4 to 0, its value is changed from i64 0 to i32 -1. This patch teaches LLVM not to assume known bits of addrspacecast instruction to its operand. Differential Revision: https://reviews.llvm.org/D26803 llvm-svn: 287545 |
||
---|---|---|
.. | ||
assume.ll | ||
deref-bitcast-of-gep.ll | ||
dereferenceable-and-aligned.ll | ||
get-pointer-base-with-const-off.ll | ||
known-bits-from-range-md.ll | ||
known-non-equal.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 | ||
pr23011.ll | ||
signbits-extract-elt.ll |