]> granicus.if.org Git - clang/commit
Promote arguments of frameaddr / returnaddr builtins to i32 type, when needed.
authorAnton Korobeynikov <asl@math.spbu.ru>
Sun, 27 Dec 2009 14:27:22 +0000 (14:27 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Sun, 27 Dec 2009 14:27:22 +0000 (14:27 +0000)
commit83c2a98012a65b51be66fd76c3a1b13ed782c558
tree1059fbf4fac977e3ee6e9fca6e5c18c5ed3a4849
parent8f5d7404da36f689b0005fc0fb5bba398c3919a9
Promote arguments of frameaddr / returnaddr builtins to i32 type, when needed.
This is needed for the platforms, where bitwidth of "int" is not 32 bits
(e.g. 16 on msp430).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92176 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGBuiltin.cpp