mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
NEON add correct predicates for some asm aliases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148815 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2022,6 +2022,15 @@ multiclass VFPDTAnyInstAlias<string opc, string asm, dag Result> {
|
||||
def : VFPDataTypeInstAlias<opc, ".64", asm, Result>;
|
||||
}
|
||||
|
||||
multiclass NEONDTAnyInstAlias<string opc, string asm, dag Result> {
|
||||
let Predicates = [HasNEON] in {
|
||||
def : VFPDataTypeInstAlias<opc, ".8", asm, Result>;
|
||||
def : VFPDataTypeInstAlias<opc, ".16", asm, Result>;
|
||||
def : VFPDataTypeInstAlias<opc, ".32", asm, Result>;
|
||||
def : VFPDataTypeInstAlias<opc, ".64", asm, Result>;
|
||||
}
|
||||
}
|
||||
|
||||
// The same alias classes using AsmPseudo instead, for the more complex
|
||||
// stuff in NEON that InstAlias can't quite handle.
|
||||
// Note that we can't use anonymous defm references here like we can
|
||||
|
Reference in New Issue
Block a user