Branch
Hash :
43efde2e
Author :
Date :
2020-03-23T17:44:09
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
; Target-independent attributes:
attributes #0 = { alwaysinline alignstack=4 }
; Target-dependent attributes:
attributes #1 = { "no-sse" }
; Function @f has attributes: alwaysinline, alignstack=4, and "no-sse".
define void @f() #0 #1 { ... }
----------------------------------------------------
[
["comment", "; Target-independent attributes:"],
["keyword", "attributes"],
["variable", "#0"],
["punctuation", "="],
["punctuation", "{"],
["keyword", "alwaysinline"],
["keyword", "alignstack"],
["punctuation", "="],
["number", "4"],
["punctuation", "}"],
["comment", "; Target-dependent attributes:"],
["keyword", "attributes"],
["variable", "#1"],
["punctuation", "="],
["punctuation", "{"],
["string", "\"no-sse\""],
["punctuation", "}"],
["comment", "; Function @f has attributes: alwaysinline, alignstack=4, and \"no-sse\"."],
["keyword", "define"],
["type", "void"],
["variable", "@f"],
["punctuation", "("],
["punctuation", ")"],
["variable", "#0"],
["variable", "#1"],
["punctuation", "{"],
["punctuation", "."],
["punctuation", "."],
["punctuation", "."],
["punctuation", "}"]
]
----------------------------------------------------
Tests the attribute "#id" syntax.