[Sparc] Remove the support for builtin setjmp/longjmp
authorDaniel Cederman <cederman@gaisler.com>
Thu, 27 Sep 2018 13:32:54 +0000 (13:32 +0000)
committerDaniel Cederman <cederman@gaisler.com>
Thu, 27 Sep 2018 13:32:54 +0000 (13:32 +0000)
commit0c05bdea2bc6e9acc1fb8455c01527e1cfe0e02a
tree5a94d7621ea3e095d7ecd872fd32e7955430a17f
parentddb7d46aa53c2eeff3b07427f9c1e776332b8837
[Sparc] Remove the support for builtin setjmp/longjmp

Summary: It is currently broken and for Sparc there is not much benefit
in using a builtin version compared to a library version. Both versions
needs to store the same four values in setjmp and flush the register
windows in longjmp. If the need for a builtin setjmp/longjmp arises there
is an improved implementation available at https://reviews.llvm.org/D50969.

Reviewers: jyknight, joerg, venkatra

Subscribers: fedor.sergeev, jrtc27, llvm-commits

Differential Revision: https://reviews.llvm.org/D51487

llvm-svn: 343210
llvm/lib/Target/Sparc/SparcISelLowering.cpp
llvm/lib/Target/Sparc/SparcISelLowering.h
llvm/lib/Target/Sparc/SparcInstrInfo.td
llvm/test/CodeGen/SPARC/sjlj.ll [deleted file]