[llvm] [GlobalISel] Use G_ANYEXT instead of G_ZEXT for shift amount widening (PR #223136)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 12 16:06:23 PDT 2026


arsenm wrote:

>  The shift amount is undefined behavior for values >= the type width, 

More precisely it is poison 

https://github.com/llvm/llvm-project/pull/223136


More information about the llvm-commits mailing list