[llvm] update_test_checks: Relax DIFile filename checks (PR #135692)

Orlando Cazalet-Hyams via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 17 04:54:04 PDT 2025


================
@@ -0,0 +1,34 @@
+; RUN: opt < %s -S | FileCheck %s
+
+; ModuleID = '/home/slinder1/llvm-project/foo.c'
+source_filename = "/home/slinder1/llvm-project/foo.c"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-unknown-linux-gnu"
----------------
OCHyams wrote:

I don't think we need the datalayout or triple, or function attributes?

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


More information about the llvm-commits mailing list