1. [MachineIRBuilder] Fix an assertion failure with buildMerge (details)
  2. [GISel][CallLowering] Enable vector support in argument lowering (details)
  3. [Mips][llvm-exegesis] Add a Mips target (details)
  4. Set GNUC version in the LLDB expression parser. (details)
Commit 7720f1149867ac11543470a945438df59dcd2824 by quentin.colombet
[MachineIRBuilder] Fix an assertion failure with buildMerge
Teach buildMerge how to deal with scalar to vector kind of requests.
Prior to this patch, buildMerge would issue either a G_MERGE_VALUES when
all the vregs are scalars or a G_CONCAT_VECTORS when the destination
vreg is a vector. G_CONCAT_VECTORS was actually not the proper
instruction when the source vregs were scalars and the compiler would
assert that the sources must be vectors. Instead we want is to issue a
G_BUILD_VECTOR when we are in this situation.
This patch fixes that.
llvm-svn: 374588
The file was modifiedllvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
The file was modifiedllvm/unittests/CodeGen/GlobalISel/MachineIRBuilderTest.cpp
Commit 9c36ec5941730364d4b9befd15e20365a039a2f1 by quentin.colombet
[GISel][CallLowering] Enable vector support in argument lowering
The exciting code is actually already enough to handle the splitting of
vector arguments but we were lacking a test case.
This commit adds a test case for vector argument lowering involving
splitting and enable the related support in call lowering.
llvm-svn: 374589
The file was modifiedllvm/lib/CodeGen/GlobalISel/CallLowering.cpp
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/irtranslator-split-vector-arg.ll
Commit cf1ba238d4f752133897af1773e85056b1492803 by simon
[Mips][llvm-exegesis] Add a Mips target
The target does just enough to be able to run llvm-exegesis in latency
mode for at least some opcodes.
Patch by Miloš Stojanović.
Differential Revision:
llvm-svn: 374590
The file was modifiedllvm/lib/Target/Mips/CMakeLists.txt
The file was modifiedllvm/unittests/tools/llvm-exegesis/CMakeLists.txt
The file was addedllvm/tools/llvm-exegesis/lib/Mips/LLVMBuild.txt
The file was addedllvm/unittests/tools/llvm-exegesis/Mips/TargetTest.cpp
The file was addedllvm/tools/llvm-exegesis/lib/Mips/Target.cpp
The file was addedllvm/tools/llvm-exegesis/lib/Mips/CMakeLists.txt
The file was modifiedllvm/tools/llvm-exegesis/lib/Assembler.cpp
The file was addedllvm/unittests/tools/llvm-exegesis/Mips/CMakeLists.txt
The file was addedllvm/lib/Target/Mips/
The file was modifiedllvm/tools/llvm-exegesis/lib/CMakeLists.txt
The file was modifiedllvm/lib/Target/Mips/
Commit f30ae7173958681b4b639e82e6530b3b047c1fde by Adrian Prantl
Set GNUC version in the LLDB expression parser.
This adapts LLDB for
Darwin's libC headers expect the GNUC macro to be set.
llvm-svn: 374591
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp