[llvm] [WebAssembly] Rename target-features.ll (PR #96716)
Heejin Ahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 25 16:55:45 PDT 2024
https://github.com/aheejin created https://github.com/llvm/llvm-project/pull/96716
I'm planning on a PR that splits `target-features.ll` into two different files and fix some other stuff on them:
- `target-features-attrs.ll` that tests target features by bitcode function attributes and `-mattr=` options
- `target-features-cpus.ll` that tests target features by `-mcpu=` options
But `target-features-attrs.ll` will share a bulk of the lines with the current `target-features.ll`. And if I remove `target-features.ll` and create the two new files in a single PR, git doesn't recognize either of them as a copy (I hoped at least `target-features-attrs.ll` would be recognized as a copy because it shares many lines with the current file)
So to make the diff smaller and easier to review, I'm renaming the file first. I'll follow up by the PR that does the actual splitting.
>From 3fb00438c1143320b6adfd5547637ff9ee1a7c70 Mon Sep 17 00:00:00 2001
From: Heejin Ahn <aheejin at gmail.com>
Date: Tue, 25 Jun 2024 23:51:34 +0000
Subject: [PATCH] [WebAssembly] Rename target-features.ll
I'm planning on a PR that splits `target-features.ll` into two different
files and fix some other stuff on them:
- `target-features-attrs.ll` that tests target features by bitcode
function attributes and `-mattr=` options
- `target-features-cpus.ll` that tests target features by `-mcpu=`
options
But `target-features-attrs.ll` will share a bulk of the lines with the
current `target-features.ll`. And if I remove `target-features.ll` and
create the two new files in a single PR, git doesn't recognize either of
them as a copy (I hoped at least `target-features-attrs.ll` would be
recognized as a copy because it shares many lines with the current file)
So to make the diff smaller and easier to review, I'm renaming the file
first. I'll follow up by the PR that does the actual splitting.
---
.../WebAssembly/{target-features.ll => target-features-attrs.ll} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename llvm/test/CodeGen/WebAssembly/{target-features.ll => target-features-attrs.ll} (100%)
diff --git a/llvm/test/CodeGen/WebAssembly/target-features.ll b/llvm/test/CodeGen/WebAssembly/target-features-attrs.ll
similarity index 100%
rename from llvm/test/CodeGen/WebAssembly/target-features.ll
rename to llvm/test/CodeGen/WebAssembly/target-features-attrs.ll
More information about the llvm-commits
mailing list