[all-commits] [llvm/llvm-project] 432338: Don't assert on a non-pointer value being used for...

Amara Emerson via All-commits all-commits at lists.llvm.org
Thu Jul 13 10:46:25 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 432338a673c827302c7a73561c20736ccd97c39a
      https://github.com/llvm/llvm-project/commit/432338a673c827302c7a73561c20736ccd97c39a
  Author: Amara Emerson <amara at apple.com>
  Date:   2023-07-13 (Thu, 13 Jul 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/test/CodeGen/X86/inline-asm-p-constraint.ll

  Log Message:
  -----------
  Don't assert on a non-pointer value being used for a "p" inline asm constraint.

GCC and existing codebases allow the use of integral values to be used
with this constraint. A recent change D133914 in this area started causing asserts.
Removing the assert is enough as the rest of the code works fine.

rdar://109675485

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




More information about the All-commits mailing list