diff options
author | Craig Topper <craig.topper@intel.com> | 2018-03-15 17:38:59 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2018-03-15 17:38:59 +0000 |
commit | 5a0251fe67f5cf36e11598eb4d5e08f1ad80719a (patch) | |
tree | f76209f8f92127a1378ee364123bfad10e849bda /clang/unittests/Frontend/CompilerInstanceTest.cpp | |
parent | 627e001fad49bf911ad83b8bbbb7306930ae940b (diff) | |
download | bcm5719-llvm-5a0251fe67f5cf36e11598eb4d5e08f1ad80719a.tar.gz bcm5719-llvm-5a0251fe67f5cf36e11598eb4d5e08f1ad80719a.zip |
[X86] Simplify the type legality checking for (FM)ADDSUB/SUBADD matching. NFCI
Rather than enumerating all specific types, for the DAG combine we can just use TLI::isTypeLegal and an SSE3 check. For the BUILD_VECTOR version we already know the type is legal so we just need to check SSE3.
llvm-svn: 327649
Diffstat (limited to 'clang/unittests/Frontend/CompilerInstanceTest.cpp')
0 files changed, 0 insertions, 0 deletions