[clang] [TBAA] Emit int TBAA metadata on FP math libcalls (PR #96025)

via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 3 17:54:24 PDT 2024


================
@@ -0,0 +1,43 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 5
+// The test may fail as time out on windows
+// REQUIRES: system-linux
+
+// RUN:  %clang -S -O3 -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefixes=CHECK,NoNewStructPathTBAA
+// RUN:  %clang -S -O3 -Xclang -new-struct-path-tbaa -emit-llvm -o - -x c++ %s | FileCheck %s -check-prefixes=CHECK,NewStructPathTBAA
+
----------------
vfdff wrote:

* I add a head file <math.h> in the test, and it could not find the head file with clang_cc1
* I'll try to relax the restriction, add that for windows because it run **timeout** with my first commit.

https://github.com/llvm/llvm-project/pull/96025


More information about the cfe-commits mailing list