[llvm] [AsmParser] Allow comparing ValIDs with different kinds (PR #119834)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 13 02:15:09 PST 2024


================
@@ -0,0 +1,23 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; RUN: opt -S < %s | FileCheck %s
+
+ at vm_exec_core.insns_address_table = internal constant [2 x ptr] [ptr blockaddress(@vm_exec_core, %2), ptr blockaddress(@vm_exec_core, %.lr.ph.i2526)], align 16
+
+define void @vm_exec_core() {
+; CHECK-LABEL: define void @vm_exec_core() {
+; CHECK-NEXT:  [[ENTRY:.*:]]
+; CHECK-NEXT:    br [[DOTLR_PH_I2526:label %.*]]
+; CHECK:       [[_LR_PH_I2526:.*:]]
+; CHECK-NEXT:    br label %[[BB0:.*]]
+; CHECK:       [[BB0]]:
+; CHECK-NEXT:    ret void
+;
+entry:
+  br label %.lr.ph.i2526
+
+.lr.ph.i2526:
----------------
nikic wrote:

Clean up name?

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


More information about the llvm-commits mailing list