mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Add function attribute 'optnone'.
This function attribute indicates that the function is not optimized by any optimization or code generator passes with the exception of interprocedural optimization passes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189101 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -205,6 +205,8 @@ static uint64_t getAttrKindEncoding(Attribute::AttrKind Kind) {
|
||||
return bitc::ATTR_KIND_NO_UNWIND;
|
||||
case Attribute::OptimizeForSize:
|
||||
return bitc::ATTR_KIND_OPTIMIZE_FOR_SIZE;
|
||||
case Attribute::OptimizeNone:
|
||||
return bitc::ATTR_KIND_OPTIMIZE_NONE;
|
||||
case Attribute::ReadNone:
|
||||
return bitc::ATTR_KIND_READ_NONE;
|
||||
case Attribute::ReadOnly:
|
||||
|
Reference in New Issue
Block a user