summaryrefslogtreecommitdiffstats
path: root/llvm/utils/lit/tests/test-output.py
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2017-08-31 21:39:23 +0000
committerCraig Topper <craig.topper@intel.com>2017-08-31 21:39:23 +0000
commit67419e39475f20e6b3164206f3233a0b1db896bf (patch)
tree220c23e7f79a47ce8a6dd54fa458ae75ebb2d19d /llvm/utils/lit/tests/test-output.py
parent32cfbeb4bd7bbc7c830c99a5eed1cd7c43ab547d (diff)
downloadbcm5719-llvm-67419e39475f20e6b3164206f3233a0b1db896bf.tar.gz
bcm5719-llvm-67419e39475f20e6b3164206f3233a0b1db896bf.zip
[X86] Don't pull carry through X86ISD::ADD carryin, -1 if we can't guranteed we're really using the carry flag from the add.
Prior to this patch we had a DAG combine that tried to bypass an X86ISD::ADD with -1 being added to the carry flag of some previous operation. We would then pass the carry flag directly to user. But this is only safe if the user is looking for the carry flag and not the zero flag. So we need to only do this combine in a context where we know what flag the consumer is using. Fixes PR34381. Differential Revision: https://reviews.llvm.org/D37317 llvm-svn: 312285
Diffstat (limited to 'llvm/utils/lit/tests/test-output.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud