Peter Rong ee31a4a702 [ARM] IselLowering unsigned overflow to crash using APInt in PerformSHLSimplify
This diff fixes issue https://github.com/llvm/llvm-project/issues/59317

We should check if bitwidth is lower than the shift amount before we subtract them to avoid unsigned overflow.

Reviewed By: dmgreen

Differential Revision: https://reviews.llvm.org/D139238
2022-12-06 09:58:27 -08:00
..
2021-07-07 10:21:07 +01:00
2022-09-26 11:31:23 +01:00
2022-10-02 11:51:08 +01:00
2021-07-01 21:08:13 +01:00
2020-06-18 17:26:24 +01:00
2020-12-08 11:54:39 +00:00
2021-03-17 15:29:02 +00:00
2021-11-21 18:33:29 +00:00
2020-12-08 11:54:39 +00:00
2020-07-16 11:25:53 +01:00
2022-11-02 22:34:05 +00:00
2020-10-07 11:47:03 +01:00
2020-12-08 11:54:39 +00:00
2022-10-28 22:28:37 -07:00