summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-10-01 17:10:45 +0000
committerCraig Topper <craig.topper@intel.com>2018-10-01 17:10:45 +0000
commit2b587ad0712408f6aa8bc48c34496386fd81edab (patch)
treef0bc374bfa012412a4aaf8a51a8bf339ddc89286 /lldb/packages/Python/lldbsuite/test
parente7dbb9336070abac17d838ec19db5956769f722d (diff)
downloadbcm5719-llvm-2b587ad0712408f6aa8bc48c34496386fd81edab.tar.gz
bcm5719-llvm-2b587ad0712408f6aa8bc48c34496386fd81edab.zip
[X86] Improve test instruction shrinking when the sign flag is used and the output of the and is truncated
Currently we skip looking through truncates if the sign flag is used. But that's overly restrictive. It's safe to look through the truncate as long as we ensure one of the 3 things when we shrink. Either the MSB of the mask at the shrunken size isn't set. If the mask bit is set then either the shrunk size needs to be equal to the compare size or the sign flag needs to be unused. There are still missed opportunities to shrink a load and fold it in here. This will be fixed in a future patch. Differential Revision: https://reviews.llvm.org/D52669 llvm-svn: 343498
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud