[llvm] [SPARC] Prevent generic opcodes from being inserted into delay slots (PR #161111)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 2 20:03:12 PDT 2025
================
@@ -184,4 +184,30 @@ entry:
ret i32 %2
}
+define i32 @test_generic_inst(i32 %a) #0 {
+;CHECK-LABEL: test_generic_inst:
+;CHECK: ! fake_use: {{.*}}
+;CHECK: bne {{.*}}
+;CHECK-NEXT: nop
+
+%2 = call i32 @bar(i32 %a)
----------------
arsenm wrote:
Fix indent and use named values in tests
https://github.com/llvm/llvm-project/pull/161111
More information about the llvm-commits
mailing list