diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2024-08-06 10:18:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-06 10:18:06 +0100 |
commit | b1234ddbe2652aa7948242a57107ca7ab12fd2f8 (patch) | |
tree | 211c5e48da65e3f3604b29aa17bbac95ae24656a /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | bb59f04e7e75dcbe39f1bf952304a157f0035314 (diff) | |
download | llvm-b1234ddbe2652aa7948242a57107ca7ab12fd2f8.zip llvm-b1234ddbe2652aa7948242a57107ca7ab12fd2f8.tar.gz llvm-b1234ddbe2652aa7948242a57107ca7ab12fd2f8.tar.bz2 |
[DAG] Add legalization handling for ABDS/ABDU (#92576)
Always match ABD patterns pre-legalization, and use TargetLowering::expandABD to expand again during legalization.
abdu(lhs, rhs) -> sub(xor(sub(lhs, rhs), usub_overflow(lhs, rhs)), usub_overflow(lhs, rhs))
Alive2: https://alive2.llvm.org/ce/z/dVdMyv
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions