aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/CodeMetrics.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-05-09 14:24:38 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-05-09 14:24:38 +0100
commitfccd7965657505de85c5d747f1c33638ae916b0f (patch)
tree89ca8624a43b1c0b0208c2868aa49b5398c5a56f /llvm/lib/Analysis/CodeMetrics.cpp
parent65399cde4b454badd8888c0b2e59e3e418d46993 (diff)
downloadllvm-fccd7965657505de85c5d747f1c33638ae916b0f.zip
llvm-fccd7965657505de85c5d747f1c33638ae916b0f.tar.gz
llvm-fccd7965657505de85c5d747f1c33638ae916b0f.tar.bz2
[X86] Add tests showing failure of combineVectorCompareAndMaskUnaryOp to handle 'all-bits' general case
For the sint_to_fp(and(X,C)) -> and(X,sint_to_fp(C)) fold, combineVectorCompareAndMaskUnaryOp only matches X against SETCC (with an all-bits result) when really it could accept anything that ComputeNumSignBits says is all-bits. Noticed while investigating mask promotion issues in PR45808
Diffstat (limited to 'llvm/lib/Analysis/CodeMetrics.cpp')
0 files changed, 0 insertions, 0 deletions