[InstCombine] Preserve NSW flags for `lshr (mul nuw X, C1), C2 -> mul nuw nsw X,...
[llvm-project.git] / clang / test / CodeGenCXX / fp16-mangle.cpp
blob44484fb81fded23fc79b359046f5fba8f3c579f8
1 // RUN: %clang_cc1 -emit-llvm -o - -triple arm-none-linux-gnueabi %s | FileCheck %s
3 // CHECK: @_ZN1SIDhDhE1iE ={{.*}} global i32 3
4 template <typename T, typename U> struct S { static int i; };
5 template <> int S<__fp16, __fp16>::i = 3;
7 // CHECK-LABEL: define{{.*}} void @_Z1fPDh(ptr noundef %x)
8 void f (__fp16 *x) { }
10 // CHECK-LABEL: define{{.*}} void @_Z1gPDhS_(ptr noundef %x, ptr noundef %y)
11 void g (__fp16 *x, __fp16 *y) { }