llvm/lib/Transforms
Peter Collingbourne 063d4cbbef WholeProgramDevirt: For VCP use a 32-bit ConstantInt for the byte offset.
A future change will cause this byte offset to be inttoptr'd and then exported
via an absolute symbol. On the importing end we will expect the symbol to be
in range [0,2^32) so that it will fit into a 32-bit relocation. The problem
is that on 64-bit architectures if the offset is negative it will not be in
the correct range once we inttoptr it.

This change causes us to use a 32-bit integer so that it can be inttoptr'd
(which zero extends) into the correct range.

Differential Revision: https://reviews.llvm.org/D30016

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295487 91177308-0d34-0410-b5e6-96231b3b80d8
2017-02-17 19:43:45 +00:00
..
Coroutines [Coroutines] Add header guard to header that's missing one. 2017-01-30 16:32:20 +00:00
Hello
InstCombine InstCombine: fix extraction when performing vector/array punning 2017-02-17 07:36:03 +00:00
Instrumentation AddressSanitizer: don't track swifterror memory addresses 2017-02-15 20:43:43 +00:00
IPO WholeProgramDevirt: For VCP use a 32-bit ConstantInt for the byte offset. 2017-02-17 19:43:45 +00:00
ObjCARC
Scalar [JumpThreading] Re-enable JumpThreading for guards 2017-02-17 04:21:14 +00:00
Utils [JumpThreading] Re-enable JumpThreading for guards 2017-02-17 04:21:14 +00:00
Vectorize [LV] Remove constant restriction for vector phi creation 2017-02-17 16:09:07 +00:00
CMakeLists.txt
LLVMBuild.txt