1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/lib/AsmParser
Alexander Richardson 499baa0abb Make the LLParser accept call instructions of variables in the program AS
Summary:
Since r325479 the DataLayout includes a program address space. However, it
is not possible to use `call %foo` if foo is a `i8(...) addrspace(200)` and
the DataLayout specifies address space 200 as the address space for functions.
With this change the IR parser will still accept variables in the program
address space as well as address space 0 for call and invoke functions.

Reviewers: pcc, arsenm, bjope, dylanmckay, theraven

Reviewed By: dylanmckay

Subscribers: wdng, llvm-commits

Differential Revision: https://reviews.llvm.org/D43645

llvm-svn: 326188
2018-02-27 11:15:11 +00:00
..
CMakeLists.txt
LLLexer.cpp Hardware-assisted AddressSanitizer (llvm part). 2017-12-09 00:21:41 +00:00
LLLexer.h
LLParser.cpp Make the LLParser accept call instructions of variables in the program AS 2018-02-27 11:15:11 +00:00
LLParser.h Make the LLParser accept call instructions of variables in the program AS 2018-02-27 11:15:11 +00:00
LLToken.h Hardware-assisted AddressSanitizer (llvm part). 2017-12-09 00:21:41 +00:00
LLVMBuild.txt Add dependency from AsmParser to BinaryFormat. 2017-06-07 04:24:33 +00:00
Parser.cpp LLParser: add an argument for overriding data layout and do not check alloca addr space 2018-01-30 22:32:39 +00:00