[all-commits] [llvm/llvm-project] 179a24: [lld][test][RISCV] Don't use incorrectly normalise...
Alex Bradbury via All-commits
all-commits at lists.llvm.org
Sun Feb 19 11:18:11 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 179a24c2f149933868e2a69b94200d7f4dcf18c5
https://github.com/llvm/llvm-project/commit/179a24c2f149933868e2a69b94200d7f4dcf18c5
Author: Alex Bradbury <asb at igalia.com>
Date: 2023-02-19 (Sun, 19 Feb 2023)
Changed paths:
M lld/test/ELF/riscv-attributes-place.s
M lld/test/ELF/riscv-attributes.s
Log Message:
-----------
[lld][test][RISCV] Don't use incorrectly normalised arch string in riscv-attributes-place.s
Per the psABI, the arch string should be normalised to (amongest other
things) always include the full version of each extension in form
zfoo1p0. riscv-attributes-place.s didn't conform to this, which is not a
problem for the current parsing logic, but this behaviour would change
with a patch I'm about to propose.
This makes riscv-sttributes-place.s feature a valid arch string, and
maintains test coverage for this particular form of invalid arch string
by adding it to riscv-attributes.s.
More information about the All-commits
mailing list