llvm-project
6dcadef3 - [JumpTableToSwitch] Bail out on function type mismatch (#207700)

Commit
12 days ago
[JumpTableToSwitch] Bail out on function type mismatch (#207700) If the function types of the functions in the jump table don't match the function type of the call, we currently get an assertion failure. We could avoid that by using a different API, but the usefulness of the transform in this case is questionable (e.g. we wouldn't be able to inline the call). For simplicity just bail out. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Author
Parents
Loading