]> granicus.if.org Git - llvm/commit
GlobalISel: legalize G_INSERT instructions
authorTim Northover <tnorthover@apple.com>
Mon, 6 Feb 2017 21:56:47 +0000 (21:56 +0000)
committerTim Northover <tnorthover@apple.com>
Mon, 6 Feb 2017 21:56:47 +0000 (21:56 +0000)
commitbfa46663d1c362d19cebd7644bdb2e6b2f7b159f
tree1c6e97d11e0c17f191c3bf52a43153b21d09cf4e
parent5caac9dff624b45a4d9cc7868107bddee24d97a8
GlobalISel: legalize G_INSERT instructions

We don't handle all cases yet (see arm64-fallback.ll for an example), but this
is enough to cover most common C++ code so it's a good place to start.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294247 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
lib/CodeGen/GlobalISel/LegalizerInfo.cpp
lib/Target/AArch64/AArch64LegalizerInfo.cpp
test/CodeGen/AArch64/GlobalISel/arm64-fallback.ll
test/CodeGen/AArch64/GlobalISel/legalize-inserts.mir [new file with mode: 0644]