aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-09-12 22:38:51 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-09-14 20:42:09 +0200
commit53f36f06afbc02d1ab96e3789b41ddeafe31f40e (patch)
tree27c159b967c04ae971d3aba807c069d60c952a50 /clang/lib/Frontend/CompilerInvocation.cpp
parentc0e3996bc7087a27e685c734480c0b92ff427d37 (diff)
downloadllvm-53f36f06afbc02d1ab96e3789b41ddeafe31f40e.zip
llvm-53f36f06afbc02d1ab96e3789b41ddeafe31f40e.tar.gz
llvm-53f36f06afbc02d1ab96e3789b41ddeafe31f40e.tar.bz2
[Legalize][ARM][X86] Add float legalization for VECREDUCE
This adds SoftenFloatRes, PromoteFloatRes and SoftPromoteHalfRes legalizations for VECREDUCE, to fill the remaining hole in the SDAG legalization. These legalizations simply expand the reduction and let it be recursively legalized. For the PromoteFloatRes case at least it is possible to do better than that, but it's pretty tricky (because we need to consider the interaction of three different vector legalizations and the type promotion) and probably not really worthwhile. I haven't added ExpandFloatRes support, as I am not familiar with ppc_fp128. Differential Revision: https://reviews.llvm.org/D87569
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions