[all-commits] [llvm/llvm-project] 16748b: [TargetLowering] Only inspect attributes in the ar...

aeubanks via All-commits all-commits at lists.llvm.org
Mon May 10 12:35:43 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 16748bd2fb1fe10d7d097961f1988327338f3f9f
      https://github.com/llvm/llvm-project/commit/16748bd2fb1fe10d7d097961f1988327338f3f9f
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-05-10 (Mon, 10 May 2021)

  Changed paths:
    M llvm/docs/ReleaseNotes.rst
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/test/CodeGen/AArch64/arm64-this-return.ll
    M llvm/test/CodeGen/AArch64/bitfield-extract.ll
    M llvm/test/CodeGen/AArch64/tailcall-explicit-sret.ll
    M llvm/test/CodeGen/AMDGPU/call-argument-types.ll
    M llvm/test/CodeGen/AMDGPU/callee-special-input-vgprs-packed.ll
    M llvm/test/CodeGen/AMDGPU/callee-special-input-vgprs.ll
    M llvm/test/CodeGen/AMDGPU/gfx-callable-argument-types.ll
    M llvm/test/CodeGen/AMDGPU/tail-call-amdgpu-gfx.ll
    M llvm/test/CodeGen/ARM/ipra-r0-returned.ll
    M llvm/test/CodeGen/ARM/returned-ext.ll
    M llvm/test/CodeGen/ARM/this-return.ll
    M llvm/test/CodeGen/SPARC/64abi.ll
    M llvm/test/CodeGen/SystemZ/args-02.ll
    M llvm/test/CodeGen/SystemZ/args-03.ll
    M llvm/test/CodeGen/X86/fast-cc-merge-stack-adj.ll
    M llvm/test/CodeGen/X86/fast-cc-pass-in-regs.ll
    A llvm/test/CodeGen/X86/mismatched-byval.ll
    M llvm/test/CodeGen/X86/movtopush.ll
    M llvm/test/CodeGen/X86/pop-stack-cleanup.ll
    M llvm/test/CodeGen/X86/preallocated.ll
    M llvm/test/CodeGen/X86/tailcall-msvc-conventions.ll

  Log Message:
  -----------
  [TargetLowering] Only inspect attributes in the arguments for ArgListEntry

Parameter attributes are considered part of the function [1], and like
mismatched calling conventions [2], we can't have the verifier check for
mismatched parameter attributes.

[1] https://llvm.org/docs/LangRef.html#parameter-attributes
[2] https://llvm.org/docs/FAQ.html#why-does-instcombine-simplifycfg-turn-a-call-to-a-function-with-a-mismatched-calling-convention-into-unreachable-why-not-make-the-verifier-reject-it

Reviewed By: rnk

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




More information about the All-commits mailing list