mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
b0dbd990db
This patch fixes .arch_extension directive parsing to handle a wider range of architecture extension options. The existing parser was parsing extensions as an identifier which breaks for extensions containing a "-", such as the "tlb-rmi" extension. The extension is now parsed as a string. This is consistent with the extension parsing in the .arch and .cpu directive parsing. Patch by Cullen Rhodes (c-rhodes) Reviewed By: SjoerdMeijer Differential Revision: https://reviews.llvm.org/D60118 llvm-svn: 357677
7 lines
122 B
ArmAsm
7 lines
122 B
ArmAsm
// RUN: llvm-mc -triple=aarch64 < %s | FileCheck %s
|
|
|
|
.arch_extension sve
|
|
|
|
ptrue p0.b, pow2
|
|
// CHECK: ptrue p0.b, pow2
|