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
43 lines
2.2 KiB
LLVM
43 lines
2.2 KiB
LLVM
; RUN: llc < %s -mtriple=thumbv7-eabi -mcpu=cortex-a8 -float-abi=hard | FileCheck %s
|
|
; RUN: llc < %s -mtriple=thumbv7-eabi -mcpu=cortex-a8 -float-abi=hard -regalloc=basic | FileCheck %s
|
|
; PR5204
|
|
|
|
%"struct.__gnu_cxx::__normal_iterator<char*,std::basic_string<char, std::char_traits<char>, std::allocator<char> > >" = type { ptr }
|
|
%"struct.__gnu_cxx::new_allocator<char>" = type <{ i8 }>
|
|
%"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >" = type { %"struct.__gnu_cxx::__normal_iterator<char*,std::basic_string<char, std::char_traits<char>, std::allocator<char> > >" }
|
|
%"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Rep" = type { %"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Rep_base" }
|
|
%"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Rep_base" = type { i32, i32, i32 }
|
|
|
|
|
|
define weak arm_aapcs_vfpcc i32 @_ZNKSs7compareERKSs(ptr %this, ptr %__str) {
|
|
; CHECK-LABEL: _ZNKSs7compareERKSs:
|
|
; CHECK: it eq
|
|
; CHECK-NEXT: subeq{{(.w)?}} r0, r{{[0-9]+}}, r{{[0-9]+}}
|
|
; CHECK-NEXT: pop.w
|
|
entry:
|
|
%0 = tail call arm_aapcs_vfpcc i32 @_ZNKSs4sizeEv(ptr %this) ; <i32> [#uses=3]
|
|
%1 = tail call arm_aapcs_vfpcc i32 @_ZNKSs4sizeEv(ptr %__str) ; <i32> [#uses=3]
|
|
%2 = icmp ult i32 %1, %0 ; <i1> [#uses=1]
|
|
%3 = select i1 %2, i32 %1, i32 %0 ; <i32> [#uses=1]
|
|
%4 = tail call arm_aapcs_vfpcc ptr @_ZNKSs7_M_dataEv(ptr %this) ; <ptr> [#uses=1]
|
|
%5 = tail call arm_aapcs_vfpcc ptr @_ZNKSs4dataEv(ptr %__str) ; <ptr> [#uses=1]
|
|
%6 = tail call arm_aapcs_vfpcc i32 @memcmp(ptr %4, ptr %5, i32 %3) nounwind readonly ; <i32> [#uses=2]
|
|
%7 = icmp eq i32 %6, 0 ; <i1> [#uses=1]
|
|
br i1 %7, label %bb, label %bb1
|
|
|
|
bb: ; preds = %entry
|
|
%8 = sub i32 %0, %1 ; <i32> [#uses=1]
|
|
ret i32 %8
|
|
|
|
bb1: ; preds = %entry
|
|
ret i32 %6
|
|
}
|
|
|
|
declare arm_aapcs_vfpcc i32 @memcmp(ptr nocapture, ptr nocapture, i32) nounwind readonly
|
|
|
|
declare arm_aapcs_vfpcc i32 @_ZNKSs4sizeEv(ptr %this)
|
|
|
|
declare arm_aapcs_vfpcc ptr @_ZNKSs7_M_dataEv(ptr %this)
|
|
|
|
declare arm_aapcs_vfpcc ptr @_ZNKSs4dataEv(ptr %this)
|