[all-commits] [llvm/llvm-project] 46a866: expand-fp: Refactor modification status handling (...

Frederik Harwath via All-commits all-commits at lists.llvm.org
Mon Oct 20 01:24:33 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 46a866ab7735aaa0f89fde209d516271c4825c49
      https://github.com/llvm/llvm-project/commit/46a866ab7735aaa0f89fde209d516271c4825c49
  Author: Frederik Harwath <frederik.harwath at amd.com>
  Date:   2025-10-20 (Mon, 20 Oct 2025)

  Changed paths:
    M llvm/lib/CodeGen/ExpandFp.cpp
    M llvm/test/CodeGen/AMDGPU/frem.ll

  Log Message:
  -----------
  expand-fp: Refactor modification status handling (NFC) (#163542)

Modify the return value of the runImpl function which indicates whether or not the IR has been changed in a
single place instead of doing it separately for each instruction at the insertion into the worklist.

Further changes: Replace if-else in worklist processing loop by switch and add test cases which demonstrate that the "scalarize" function does not always add items to the worklist and hence a worklist emptiness check cannot be used for the runImpl return value.



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