clang/test/CodeGen/2004-02-20-Builtins.c
raw| 1 | // RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s |
| 2 | double sqrt(double x); |
| 3 | |
| 4 | // CHECK-LABEL: @zsqrtxxx |
| 5 | // CHECK-NOT: builtin |
| 6 | // Don't search into metadata definitions. !llvm.ident can contain the |
| 7 | // substring "builtin" if it's in the source tree path. |
| 8 | // CHECK-LABEL: !llvm.ident |
| 9 | void zsqrtxxx(float num) { |
| 10 | num = sqrt(num); |
| 11 | } |