brintos

brintos / llvm-project-archived public Read only

0
0
Text · 555 B · de4a10d Raw
13 lines · cpp
1// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 22// RUN: %clang_cc1 -triple loongarch64 -emit-llvm -o - %s | FileCheck %s3// RUN: %clang_cc1 -triple loongarch32 -emit-llvm -o - %s | FileCheck %s4 5// CHECK-LABEL: define dso_local void @_Z3fooDF16b6// CHECK-SAME: (bfloat noundef [[B:%.*]]) #[[ATTR0:[0-9]+]] {7// CHECK-NEXT:  entry:8// CHECK-NEXT:    [[B_ADDR:%.*]] = alloca bfloat, align 29// CHECK-NEXT:    store bfloat [[B]], ptr [[B_ADDR]], align 210// CHECK-NEXT:    ret void11//12void foo(__bf16 b) {}13