aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorAlex Bradbury <asb@igalia.com>2023-02-19 19:15:32 +0000
committerAlex Bradbury <asb@igalia.com>2023-02-19 19:15:32 +0000
commit179a24c2f149933868e2a69b94200d7f4dcf18c5 (patch)
tree96df897b1b0c92e3c7a47e4b297907cdd4356912 /llvm/lib/Transforms/Utils/Local.cpp
parentfd4d29808efad739778caafa30765d83f82d99ba (diff)
downloadllvm-179a24c2f149933868e2a69b94200d7f4dcf18c5.zip
llvm-179a24c2f149933868e2a69b94200d7f4dcf18c5.tar.gz
llvm-179a24c2f149933868e2a69b94200d7f4dcf18c5.tar.bz2
[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.
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions