diff options
author | Philip Reames <preames@rivosinc.com> | 2023-10-03 07:34:39 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-03 07:34:39 -0700 |
commit | 7a0b9daac9edde4293d2e9fdf30d8b35c04d16a6 (patch) | |
tree | 045a3759ac6c5e9b8eb2e58d85b5c273d9903ccf /clang/lib/Lex/ModuleMap.cpp | |
parent | 8092933246507a7b6c4385afbf0b9750a6d00de9 (diff) | |
download | llvm-7a0b9daac9edde4293d2e9fdf30d8b35c04d16a6.zip llvm-7a0b9daac9edde4293d2e9fdf30d8b35c04d16a6.tar.gz llvm-7a0b9daac9edde4293d2e9fdf30d8b35c04d16a6.tar.bz2 |
[RISCV] Generaize reduction tree matching to all integer reductions (#68014)
This builds on the transform introduced in
https://github.com/llvm/llvm-project/pull/67821, and generalizes it for
all integer reduction types.
A couple of notes:
* This will only form smax/smin/umax/umin reductions when zbb is
enabled. Otherwise, we lower the min/max expressions early. I don't care
about this case, and don't plan to address this further.
* This excludes floating point. Floating point introduces concerns about
associativity. I may or may not do a follow up patch for that case.
* The explodevector test change is mildly undesirable from a clarity
perspective. If anyone sees a good way to rewrite that to stablize the
test, please suggest.
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions