[MLIR] Remove uses of %T from lit tests (#150725)

%T has been deprecated for about seven years and is to be avoided given
it does not use a unique dir per test. Remove it from lit tests in MLIR
with the eventual goal to be removing support within llvm-lit.

This patch just reuses %t.o given it is deleted in between sections of
the test.
This commit is contained in:
Aiden Grossman 2025-07-25 17:49:30 -07:00 committed by GitHub
parent e4d5969d71
commit 676314a85f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,10 +15,10 @@
// RUN: ls %t.o
// RUN: rm %t.o
// RUN: mlir-runner %s -dump-object-file -object-filename=%T/test.o \
// RUN: mlir-runner %s -dump-object-file -object-filename=%t.o \
// RUN: %if target={{s390x-.*}} %{ -argext-abi-check=false %} | FileCheck %s
// RUN: ls %T/test.o
// RUN: rm %T/test.o
// RUN: ls %t.o
// RUN: rm %t.o
// Declarations of C library functions.
llvm.func @logbf(f32) -> f32