[all-commits] [llvm/llvm-project] fbceff: Revert "[SimplifyCFG] When eliminating `unreachabl...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Thu Jan 12 14:19:15 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fbcefff9d0a3f5e97270ef8e7b8e0f2afc33dc1c
      https://github.com/llvm/llvm-project/commit/fbcefff9d0a3f5e97270ef8e7b8e0f2afc33dc1c
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2023-01-13 (Fri, 13 Jan 2023)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/Local.h
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/test/Transforms/SimplifyCFG/2011-09-05-TrivialLPad.ll
    M llvm/test/Transforms/SimplifyCFG/UnreachableEliminate.ll
    M llvm/test/Transforms/SimplifyCFG/X86/2010-03-30-InvokeCrash.ll
    M llvm/test/Transforms/SimplifyCFG/X86/bug-25299.ll
    M llvm/test/Transforms/SimplifyCFG/X86/empty-cleanuppad.ll
    M llvm/test/Transforms/SimplifyCFG/empty-catchpad.ll
    M llvm/test/Transforms/SimplifyCFG/invoke_unwind.ll
    M llvm/test/Transforms/SimplifyCFG/invoke_unwind_lifetime.ll
    M llvm/test/Transforms/SimplifyCFG/lifetime-landingpad.ll
    M llvm/test/Transforms/SimplifyCFG/wineh-unreachable.ll

  Log Message:
  -----------
  Revert "[SimplifyCFG] When eliminating `unreachable` landing pads, mark `call`s as `nounwind`"

The bool is in the wrong place and might get implicitly converted from
the previous second argument - a pointer. Thinking about it more,
it's not really the best place for that functionality anyways,
only a single caller needs that.

This reverts commit 3c5b1f2d94d021005ce3769a4402d4a4ae843989.




More information about the All-commits mailing list