]> granicus.if.org Git - llvm/commit
GlobalISel: set correct regclass for LOAD_STACK_GUARD.
authorTim Northover <tnorthover@apple.com>
Fri, 27 Jan 2017 21:31:24 +0000 (21:31 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 27 Jan 2017 21:31:24 +0000 (21:31 +0000)
commit946288f92c670fd793c0644b6eadb01b768141c6
treee4f4cb33719e3246153371f778a9ca200bcc9d2c
parent5041a6cc2067fd6403289a230f11575730f03618
GlobalISel: set correct regclass for LOAD_STACK_GUARD.

Since it's not actually a generic MI, its register operands need a RegClass,
which is conveniently the target's pointer RegClass.

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