]> granicus.if.org Git - llvm/commit
GlobalISel: account for differing exception selector sizes.
authorTim Northover <tnorthover@apple.com>
Mon, 30 Jan 2017 20:52:42 +0000 (20:52 +0000)
committerTim Northover <tnorthover@apple.com>
Mon, 30 Jan 2017 20:52:42 +0000 (20:52 +0000)
commitf06702d6ea27692ec36a960dd2928acd9fe984ce
treeb205aad3be6085ab306bb03ce2765f35a41a7d2b
parent38336fee7d917776e6d32e14d07542fab57fbeeb
GlobalISel: account for differing exception selector sizes.

For some reason the exception selector register must be a pointer (that's
assumed by SDag); on the other hand, it gets moved into an IR-level type which
might be entirely different (i32 on AArch64). IRTranslator needs to be aware of
this.

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