[llvm] AMDGPU/GlobalISel: RegBankLegalize rules for s_bitreplicate (PR #189138)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 1 02:55:41 PDT 2026


================
@@ -0,0 +1,63 @@
+// End-to-end test for the divergent VALU expansion of the AMDGPU
----------------
arsenm wrote:

> We generally don't add execution tests for compiler-related changes.

This isn't a good thing 

> The idea is that as long as the generated code is correct, it should behave correctly at runtime. 

How do you know with these long sequences if it's correct?



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


More information about the llvm-commits mailing list