[PATCH] D144451: [X86] Optimize umax(X,1)
Kazu Hirata via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 3 22:59:49 PST 2023
kazu added a comment.
Please take a look.
I settled on the idea of seeing trough `ISD::TRUNCATE`. I tried sending `ISD::UMAX` of `MVT::i8` through `MVT::i64` to `LowerMINMAX` with `setOperationAction`, but I ended up seeing various differences in the generated code even without my actual change for the optimization.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144451/new/
https://reviews.llvm.org/D144451
More information about the llvm-commits
mailing list