HomePhabricator

[Builtins] Do not use tailcall for Thumb1

Description

[Builtins] Do not use tailcall for Thumb1

Summary:
The b instruction in Thumb1 has limited range, which may cause link-time errors if the jump target is far away.
This patch guards the tailcalls for non-Thumb1

Reviewers: peter.smith, compnerd, rengolin, eli.friedman

Reviewed By: rengolin

Subscribers: joerg, dalias, javed.absar, llvm-commits

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

Details

Committed
weimingzNov 9 2017, 9:32 AM
Reviewer
rengolin
Differential Revision
D39700: [Builtins] Do not use tailcall for Thumb1
Parents
rL317813: [OPENMP] Codegen for `#pragma omp target parallel for simd`.
Branches
Unknown
Tags
Unknown