diff options
author | Sean Fertile <sfertile@ca.ibm.com> | 2017-11-29 04:09:29 +0000 |
---|---|---|
committer | Sean Fertile <sfertile@ca.ibm.com> | 2017-11-29 04:09:29 +0000 |
commit | aab3ef76d9c46440e461088418a46447cafbaf9c (patch) | |
tree | 65afde0c11366080e8afe1d85a7a3ea925bcd455 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 971c6f32fe5fc934a783774a8d01a11782590406 (diff) | |
download | bcm5719-llvm-aab3ef76d9c46440e461088418a46447cafbaf9c.tar.gz bcm5719-llvm-aab3ef76d9c46440e461088418a46447cafbaf9c.zip |
[PowerPC] Relax the checking on AND/AND8 in isSignOrZeroExtended.
Separate the handling of AND/AND8 out from PHI/OR/ISEL checking. The reasoning
is the others need all their operands to be sign/zero extended for their output
to also be sign/zero extended. This is true for AND and sign-extension, but for
zero-extension we only need at least one of the input operands to be zero
extended for the result to also be zero extended.
Differential Revision: https://reviews.llvm.org/D39078
llvm-svn: 319289
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions