mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-22 11:39:35 +00:00
Add i8 sdiv support for ARM fast isel.
llvm-svn: 116195
This commit is contained in:
parent
6f65f8a4d3
commit
af5baa8a0f
@ -1105,7 +1105,9 @@ bool ARMFastISel::SelectSDiv(const Instruction *I) {
|
|||||||
|
|
||||||
// Otherwise emit a libcall.
|
// Otherwise emit a libcall.
|
||||||
RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL;
|
RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL;
|
||||||
if (VT == MVT::i16)
|
if (VT == MVT::i8)
|
||||||
|
LC = RTLIB::SDIV_I8;
|
||||||
|
else if (VT == MVT::i16)
|
||||||
LC = RTLIB::SDIV_I16;
|
LC = RTLIB::SDIV_I16;
|
||||||
else if (VT == MVT::i32)
|
else if (VT == MVT::i32)
|
||||||
LC = RTLIB::SDIV_I32;
|
LC = RTLIB::SDIV_I32;
|
||||||
|
Loading…
Reference in New Issue
Block a user