[all-commits] [llvm/llvm-project] bb353d: [Bitcode] Simplify code after FUNC_CODE_BLOCKADDR_...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed May 11 20:27:26 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bb353df589b87527bc28666bc29c506c86d7f978
      https://github.com/llvm/llvm-project/commit/bb353df589b87527bc28666bc29c506c86d7f978
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-05-11 (Wed, 11 May 2022)

  Changed paths:
    M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp

  Log Message:
  -----------
  [Bitcode] Simplify code after FUNC_CODE_BLOCKADDR_USERS changes (D124878)

Switch to the more common `Constant && !GlobalValue` test.
Use the more common `Worklist/Visited` variable names.




More information about the All-commits mailing list