[all-commits] [llvm/llvm-project] f0d898: DAG: Move get_dynamic_area_offset type check to IR...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Jun 23 19:12:14 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f0d898f36bceff94d40e2022814978fa5fd0cc8f
      https://github.com/llvm/llvm-project/commit/f0d898f36bceff94d40e2022814978fa5fd0cc8f
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-06-24 (Tue, 24 Jun 2025)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/IR/Verifier.cpp
    A llvm/test/Verifier/get_dynamic_area_offset.ll

  Log Message:
  -----------
  DAG: Move get_dynamic_area_offset type check to IR verifier (#145268)

Also fix the LangRef to match the implementation. This was checking
against the alloca address space size rather than the default address
space.

The check was also more permissive than the LangRef. The error
check permitted any size less than the pointer size; follow the
stricter wording of the LangRef.



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