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
54 lines
2.0 KiB
LLVM
54 lines
2.0 KiB
LLVM
; RUN: mlir-translate -import-llvm -split-input-file %s | FileCheck %s
|
|
|
|
; Test the default data layout import.
|
|
|
|
; CHECK: dlti.dl_spec =
|
|
; CHECK: #dlti.dl_spec<
|
|
; CHECK-SAME: !llvm.ptr = dense<64> : vector<4xi64>
|
|
; CHECK-SAME: i1 = dense<8> : vector<2xi64>
|
|
; CHECK-SAME: i8 = dense<8> : vector<2xi64>
|
|
; CHECK-SAME: i16 = dense<16> : vector<2xi64>
|
|
; CHECK-SAME: i32 = dense<32> : vector<2xi64>
|
|
; CHECK-SAME: i64 = dense<[32, 64]> : vector<2xi64>
|
|
; CHECK-SAME: f16 = dense<16> : vector<2xi64>
|
|
; CHECK-SAME: f64 = dense<64> : vector<2xi64>
|
|
; CHECK-SAME: f128 = dense<128> : vector<2xi64>
|
|
; CHECK-SAME: "dlti.endianness" = "little"
|
|
; CHECK: >
|
|
target datalayout = ""
|
|
|
|
; // -----
|
|
|
|
; CHECK: dlti.dl_spec =
|
|
; CHECK: #dlti.dl_spec<
|
|
; CHECK-SAME: !llvm.ptr<270> = dense<[32, 64, 64, 32]> : vector<4xi64>
|
|
; CHECK-SAME: !llvm.ptr<271> = dense<32> : vector<4xi64>
|
|
; CHECK-SAME: !llvm.ptr<272> = dense<64> : vector<4xi64>
|
|
; CHECK-SAME: i64 = dense<64> : vector<2xi64>
|
|
; CHECK-SAME: f80 = dense<128> : vector<2xi64>
|
|
; CHECK-SAME: i8 = dense<8> : vector<2xi64>
|
|
; CHECK-SAME: "dlti.endianness" = "little"
|
|
; CHECK-SAME: "dlti.mangling_mode" = "e"
|
|
; CHECK-SAME: "dlti.legal_int_widths" = array<i32: 8, 16, 32, 64>
|
|
; CHECK-SAME: "dlti.stack_alignment" = 128 : i64
|
|
; CHECK-SAME: "dlti.function_pointer_alignment" = #dlti.function_pointer_alignment<32, function_dependent = true>
|
|
target datalayout = "e-m:e-p270:32:64-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128-Fn32"
|
|
|
|
; // -----
|
|
|
|
; CHECK: dlti.dl_spec =
|
|
; CHECK: #dlti.dl_spec<
|
|
; CHECK-SAME: !llvm.ptr<270> = dense<[16, 32, 64, 8]> : vector<4xi64>
|
|
; CHECK-SAME: !llvm.ptr<271> = dense<[16, 32, 64, 16]> : vector<4xi64>
|
|
; CHECK-SAME: i64 = dense<[64, 128]> : vector<2xi64>
|
|
; CHECK-SAME: "dlti.alloca_memory_space" = 1 : ui64
|
|
; CHECK-SAME: "dlti.endianness" = "big"
|
|
target datalayout = "A1-E-p270:16:32:64:8-p271:16:32:64-i64:64:128"
|
|
|
|
; // -----
|
|
|
|
; CHECK: dlti.dl_spec =
|
|
; CHECK: #dlti.dl_spec<
|
|
; CHECK-NOT: "dlti.alloca_memory_space" =
|
|
target datalayout = "A0"
|