[all-commits] [llvm/llvm-project] c4e2f7: [AArch64][GlobalISel] Limit srem by const of small...
David Green via All-commits
all-commits at lists.llvm.org
Tue Mar 3 01:31:54 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c4e2f79c22d2e22564cba60a7f4c1b126d6dfad9
https://github.com/llvm/llvm-project/commit/c4e2f79c22d2e22564cba60a7f4c1b126d6dfad9
Author: David Green <david.green at arm.com>
Date: 2026-03-03 (Tue, 03 Mar 2026)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/test/CodeGen/AArch64/srem-vec-crash.ll
Log Message:
-----------
[AArch64][GlobalISel] Limit srem by const of small sizes. (#184066)
The code in SignedDivisionByConstantInfo::get can only handle bitwidths
>= 3. This adds a check for bitwidth==1 for urem too, although it will
already have been simplified.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list