[llvm] [WebAssembly] Rename target-features.ll (PR #96716)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 25 16:56:16 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-backend-webassembly

Author: Heejin Ahn (aheejin)

<details>
<summary>Changes</summary>

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.

---
Full diff: https://github.com/llvm/llvm-project/pull/96716.diff


1 Files Affected:

- (renamed) llvm/test/CodeGen/WebAssembly/target-features-attrs.ll () 


``````````diff
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

``````````

</details>


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


More information about the llvm-commits mailing list