[llvm] [IR] Require that global value initializers are sized (PR #137358)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 28 05:46:21 PDT 2025


================
@@ -2,4 +2,8 @@
 ; RUN: verify-uselistorder %s
 
 %t = type opaque
- at x = global %t undef
+
+define void @test() {
+  %sel = select i1 true, %t undef, %t poison
----------------
nikic wrote:

Done in https://github.com/llvm/llvm-project/pull/137625.

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


More information about the llvm-commits mailing list