aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WasmObjectFile.cpp
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/lib/Object/WasmObjectFile.cpp
parent32cfbeb4bd7bbc7c830c99a5eed1cd7c43ab547d (diff)
downloadllvm-67419e39475f20e6b3164206f3233a0b1db896bf.zip
llvm-67419e39475f20e6b3164206f3233a0b1db896bf.tar.gz
llvm-67419e39475f20e6b3164206f3233a0b1db896bf.tar.bz2
[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/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions