aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/CodeMetrics.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2020-05-09 17:04:34 -0700
committerCraig Topper <craig.topper@gmail.com>2020-05-09 17:13:33 -0700
commit66db6f21292dec25487fd8d8d2c3f544950ade8e (patch)
treeb26c1a6f6d149b7cbed37cce522821fd25835b52 /llvm/lib/Analysis/CodeMetrics.cpp
parent3af85fa8f06220b43f03f26de216a67be4568fe7 (diff)
downloadllvm-66db6f21292dec25487fd8d8d2c3f544950ade8e.zip
llvm-66db6f21292dec25487fd8d8d2c3f544950ade8e.tar.gz
llvm-66db6f21292dec25487fd8d8d2c3f544950ade8e.tar.bz2
[X86] Add test cases for vXi16 PMULH opportunities that don't end in truncate.
We already have matching for extend+mul+shift+trunc. But we could also match up to the shift without the truncate and just extend the result. That would still be a savings.
Diffstat (limited to 'llvm/lib/Analysis/CodeMetrics.cpp')
0 files changed, 0 insertions, 0 deletions