OSDN Git Service

[GlobalISel] Don't translate intrinsics with metadata parameters.
authorAhmed Bougacha <ahmed.bougacha@gmail.com>
Tue, 7 Mar 2017 20:53:09 +0000 (20:53 +0000)
committerAhmed Bougacha <ahmed.bougacha@gmail.com>
Tue, 7 Mar 2017 20:53:09 +0000 (20:53 +0000)
commit360f1e7c17badeace22c4adc63686fbe0c764fd5
tree1fc07caca8e75e9dc8e59174acfe8f8bf3c85884
parent12a80e817aafa0f0b11abe6c2c5bc829fcebf947
[GlobalISel] Don't translate intrinsics with metadata parameters.

Some intrinsics take metadata parameters.  These all need custom
handling of some form, and cannot possibly be lowered generically to
G_INTRINSIC calls with vreg operands.
Reject them, instead of hitting an assert later in getOrCreateVReg.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297209 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/GlobalISel/IRTranslator.cpp
test/CodeGen/AArch64/GlobalISel/arm64-fallback.ll