[all-commits] [llvm/llvm-project] 4b2f11: Skip tranformConstExprCastCall for naked function ...

hstk30-hw via All-commits all-commits at lists.llvm.org
Mon Jan 1 06:52:26 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4b2f1184fcb1df8f86a5d6d364656168bb77ec0a
      https://github.com/llvm/llvm-project/commit/4b2f1184fcb1df8f86a5d6d364656168bb77ec0a
  Author: hstk30-hw <hanwei62 at huawei.com>
  Date:   2024-01-01 (Mon, 01 Jan 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/test/Transforms/InstCombine/call-cast-attrs.ll
    M llvm/test/Transforms/LowerTypeTests/cfi-unwind-direct-call.ll

  Log Message:
  -----------
  Skip tranformConstExprCastCall for naked function (#76496)

Fix this issue https://github.com/llvm/llvm-project/issues/72843 .

For naked function, assembly might be using an argument, or otherwise
rely on the frame layout, so don't transformConstExprCastCall




More information about the All-commits mailing list