freebsd-dev/contrib/llvm-project/llvm
Dimitry Andric 8885dff6ce Apply fix for asm constraint error in www/php80-opcache
Merge commit 027c16bef4b7 from llvm git (by Nick Desaulniers):

  [X86ISelLowering] permit BlockAddressSDNode "i" constraints for PIC

  When building 32b x86 code as PIC, the existing handling of "i"
  constraints is conservative since generally we have to go through the
  GOT to find references to functions.

  But generally, BlockAddresses from C code refer to the Function in the
  current TU.  Permit BlockAddresses to be used with the "i" constraint
  for those cases.

  I regressed this in
  commit 4edb9983cb8c ("[SelectionDAG] treat X constrained labels as i for asm")

  Fixes: https://github.com/llvm/llvm-project/issues/53868

  Reviewed By: efriedma, MaskRay

  Differential Revision: https://reviews.llvm.org/D119905
2022-05-14 13:45:37 +02:00
..
include Merge llvm-project main llvmorg-14-init-18294-gdb01b123d012 2022-05-14 13:44:47 +02:00
lib Apply fix for asm constraint error in www/php80-opcache 2022-05-14 13:45:37 +02:00
tools Merge llvm-project main llvmorg-14-init-18294-gdb01b123d012 2022-05-14 13:44:47 +02:00
utils/TableGen Merge llvm-project main llvmorg-14-init-18294-gdb01b123d012 2022-05-14 13:44:47 +02:00
LICENSE.TXT