HomePhabricator

[X86] Add *SP to tailcall register class to fix verifier error

Description

[X86] Add *SP to tailcall register class to fix verifier error

It's possible to do a tail call to a stack argument. LLVM already
calculates the right stack offset to call through.

Fixes the sibcall* and musttail* verifier failures tracked at PR27481.

Details

Committed
rnkOct 24 2018, 2:09 PM
Parents
rL345196: [MIR] Add hasWinCFI field
Branches
Unknown
Tags
Unknown