[llvm] [AArch64] Move peephole-sxtw.mir file to regression test directory (PR #100819)

Dimitry Andric via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 26 14:45:54 PDT 2024


https://github.com/DimitryAndric created https://github.com/llvm/llvm-project/pull/100819

In #96293 ("Remove superfluous sxtw in peephole opt") a file `peephole-sxtw.mir` was added to `llvm/lib/Target/AArch64/`, but it looks like this is a regression test file.

Move it to `llvm/test/CodeGen/AArch64/` which seems a more correct location.


>From 4104f9ead83a12fde7b3093f65185b906727cde6 Mon Sep 17 00:00:00 2001
From: Dimitry Andric <dimitry at andric.com>
Date: Fri, 26 Jul 2024 23:42:00 +0200
Subject: [PATCH] [AArch64] Move peephole-sxtw.mir file to regression test
 directory

In #96293 ("Remove superfluous sxtw in peephole opt") a file
`peephole-sxtw.mir` was added to `llvm/lib/Target/AArch64/`, but it
looks like this is a regression test file.

Move it to `llvm/test/CodeGen/AArch64/` which seems a more correct
location.
---
 llvm/{lib/Target => test/CodeGen}/AArch64/peephole-sxtw.mir | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename llvm/{lib/Target => test/CodeGen}/AArch64/peephole-sxtw.mir (100%)

diff --git a/llvm/lib/Target/AArch64/peephole-sxtw.mir b/llvm/test/CodeGen/AArch64/peephole-sxtw.mir
similarity index 100%
rename from llvm/lib/Target/AArch64/peephole-sxtw.mir
rename to llvm/test/CodeGen/AArch64/peephole-sxtw.mir



More information about the llvm-commits mailing list