[all-commits] [llvm/llvm-project] f83ba9: [X86] Fix assertion failure for tail call on i686+...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Jul 17 10:37:54 PDT 2026
Branch: refs/heads/release/23.x
Home: https://github.com/llvm/llvm-project
Commit: f83ba9d97b34021e3d2ff2faf7b04a3001b2c7ca
https://github.com/llvm/llvm-project/commit/f83ba9d97b34021e3d2ff2faf7b04a3001b2c7ca
Author: Nikita Popov <npopov at redhat.com>
Date: 2026-07-17 (Fri, 17 Jul 2026)
Changed paths:
M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
A llvm/test/CodeGen/X86/tailcall-i686-pic.ll
Log Message:
-----------
[X86] Fix assertion failure for tail call on i686+pic (#210302)
The pattern for TCRETURNmi has a IsNotPIC predicate, but the
checkTCRetEnoughRegs() predicate that's part of the X86tcret_enough_regs
PatFrag is evaluated first, so we can't assert that PIC is disabled
here. We should just return false in that case.
Fixes https://github.com/llvm/llvm-project/issues/210300.
(cherry picked from commit 23b0281d75a4320a4e6e3d837edf94911d98d252)
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list