Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGenCXX / fp16-overload.cpp
blob935ea79c86bbcb4ea5b5f137c846a05a9c5d13d9
1 // RUN: %clang_cc1 -emit-llvm -o - -triple arm-none-linux-gnueabi %s | FileCheck %s
3 extern int foo(float x);
4 extern int foo(double x);
6 __fp16 a;
8 // CHECK: call noundef i32 @_Z3foof
9 // CHECK-NOT: call noundef i32 @_Z3food
10 int bar (void) { return foo(a); }