aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/CodeMetrics.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-05-09 14:53:07 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-05-09 14:53:25 +0100
commit0e8e731449d8fbfa6ba4523de928b4812ef9f100 (patch)
tree6c9c0d71cb0aeea6833289d83b5e0dfaa435d312 /llvm/lib/Analysis/CodeMetrics.cpp
parent7425bdbd2faa9483be71dc5674264540d3cb4b84 (diff)
downloadllvm-0e8e731449d8fbfa6ba4523de928b4812ef9f100.zip
llvm-0e8e731449d8fbfa6ba4523de928b4812ef9f100.tar.gz
llvm-0e8e731449d8fbfa6ba4523de928b4812ef9f100.tar.bz2
[X86] Allow combineVectorCompareAndMaskUnaryOp to handle 'all-bits' general case
For the sint_to_fp(and(X,C)) -> and(X,sint_to_fp(C)) fold, allow combineVectorCompareAndMaskUnaryOp to match any X that ComputeNumSignBits says is all-bits, not just SETCC. Noticed while investigating mask promotion issues in PR45808
Diffstat (limited to 'llvm/lib/Analysis/CodeMetrics.cpp')
0 files changed, 0 insertions, 0 deletions