summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
diff options
context:
space:
mode:
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>2017-12-11 14:35:48 +0000
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>2017-12-11 14:35:48 +0000
commit50d37a112974e32f19049fd07964c498bf9a29c3 (patch)
treeedb740957310ac9cea651ab3478d339eb5370eda /lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
parentc58a80ff4786fb3592f9d66f10075f56d67360c4 (diff)
downloadbcm5719-llvm-50d37a112974e32f19049fd07964c498bf9a29c3.tar.gz
bcm5719-llvm-50d37a112974e32f19049fd07964c498bf9a29c3.zip
[PowerPC] Sign-extend negative constant stores
Second part of https://reviews.llvm.org/D40348. Revision r318436 has extended all constants feeding a store to 64 bits to allow for CSE on the SDAG. However, negative constants were zero extended which made the constant being loaded appear to be a positive value larger than 16 bits. This resulted in long sequences to materialize such constants rather than simply a "load immediate". This patch just sign-extends those updated constants so that they remain 16-bit signed immediates if they started out that way. llvm-svn: 320368
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud