Files
clang-p2996/llvm/lib/Analysis/VectorUtils.cpp
Deric Cheung 37ed2e6b33 [Scalarizer] Make *_with_overflow intrinsics scalarizable (#126815)
Addresses issue #126809

- Made `uadd_with_overflow`, `sadd_with_overflow`, `usub_with_overflow`,
`ssub_with_overflow`, `umul_with_overflow`, and `smul_with_overflow`
trivially scalarizable in `isTriviallyScalarizable()` from
`VectorUtils.cpp`
- Renamed and updated the test `Scalarizer/uadd_overflow.ll` to
`Scalarizer/uadd_with_overflow.ll` to check that `uadd_with_overflow`
gets scalarized
- Added a test `Scalarizer/sincos.ll` to ensure the bug fix #113625
still works
2025-02-13 13:31:39 -08:00

59 KiB