CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
55 lines
2.2 KiB
LLVM
55 lines
2.2 KiB
LLVM
; PR925
|
|
; RUN: llc < %s | FileCheck %s
|
|
|
|
; CHECK: {{mov.*str1}}
|
|
; CHECK-NOT: {{mov.*str1}}
|
|
|
|
target datalayout = "e-p:32:32"
|
|
target triple = "i686-apple-darwin8.7.2"
|
|
@str1 = internal constant [5 x i8] c"bonk\00" ; <ptr> [#uses=1]
|
|
@str2 = internal constant [5 x i8] c"bork\00" ; <ptr> [#uses=1]
|
|
@str = internal constant [8 x i8] c"perfwap\00" ; <ptr> [#uses=1]
|
|
|
|
define void @foo(i32 %C) {
|
|
entry:
|
|
switch i32 %C, label %bb2 [
|
|
i32 1, label %blahaha
|
|
i32 2, label %blahaha
|
|
i32 3, label %blahaha
|
|
i32 4, label %blahaha
|
|
i32 5, label %blahaha
|
|
i32 6, label %blahaha
|
|
i32 7, label %blahaha
|
|
i32 8, label %blahaha
|
|
i32 9, label %blahaha
|
|
i32 10, label %blahaha
|
|
]
|
|
|
|
bb2: ; preds = %entry
|
|
%tmp5 = and i32 %C, 123 ; <i32> [#uses=1]
|
|
%tmp = icmp eq i32 %tmp5, 0 ; <i1> [#uses=1]
|
|
br i1 %tmp, label %blahaha, label %cond_true
|
|
|
|
cond_true: ; preds = %bb2
|
|
br label %blahaha
|
|
|
|
blahaha: ; preds = %cond_true, %bb2, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry
|
|
%s.0 = phi ptr [ @str, %cond_true ], [ @str1, %entry ], [ @str1, %entry ], [ @str1, %entry ], [ @str1, %entry ], [ @str1, %entry ], [ @str1, %entry ], [ @str1, %entry ], [ @str1, %entry ], [ @str1, %entry ], [ @str1, %entry ], [ @str2, %bb2 ] ; <ptr> [#uses=13]
|
|
%tmp8 = tail call i32 (ptr, ...) @printf( ptr %s.0 ) ; <i32> [#uses=0]
|
|
%tmp10 = tail call i32 (ptr, ...) @printf( ptr %s.0 ) ; <i32> [#uses=0]
|
|
%tmp12 = tail call i32 (ptr, ...) @printf( ptr %s.0 ) ; <i32> [#uses=0]
|
|
%tmp14 = tail call i32 (ptr, ...) @printf( ptr %s.0 ) ; <i32> [#uses=0]
|
|
%tmp16 = tail call i32 (ptr, ...) @printf( ptr %s.0 ) ; <i32> [#uses=0]
|
|
%tmp18 = tail call i32 (ptr, ...) @printf( ptr %s.0 ) ; <i32> [#uses=0]
|
|
%tmp20 = tail call i32 (ptr, ...) @printf( ptr %s.0 ) ; <i32> [#uses=0]
|
|
%tmp22 = tail call i32 (ptr, ...) @printf( ptr %s.0 ) ; <i32> [#uses=0]
|
|
%tmp24 = tail call i32 (ptr, ...) @printf( ptr %s.0 ) ; <i32> [#uses=0]
|
|
%tmp26 = tail call i32 (ptr, ...) @printf( ptr %s.0 ) ; <i32> [#uses=0]
|
|
%tmp28 = tail call i32 (ptr, ...) @printf( ptr %s.0 ) ; <i32> [#uses=0]
|
|
%tmp30 = tail call i32 (ptr, ...) @printf( ptr %s.0 ) ; <i32> [#uses=0]
|
|
%tmp32 = tail call i32 (ptr, ...) @printf( ptr %s.0 ) ; <i32> [#uses=0]
|
|
ret void
|
|
}
|
|
|
|
declare i32 @printf(ptr, ...)
|