[all-commits] [llvm/llvm-project] dbac91: [CIR] Add NYI cases to builtin switch statement an...

Hendrik Hübner via All-commits all-commits at lists.llvm.org
Fri Nov 21 09:58:30 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dbac91743aa0167d783568a593dfe8b675b38b46
      https://github.com/llvm/llvm-project/commit/dbac91743aa0167d783568a593dfe8b675b38b46
  Author: Hendrik Hübner <117831077+HendrikHuebner at users.noreply.github.com>
  Date:   2025-11-21 (Fri, 21 Nov 2025)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenBuiltin.cpp

  Log Message:
  -----------
  [CIR] Add NYI cases to builtin switch statement and move existing cases into functions (#168699)

This PR adds a number of cases to the switch statement in
`CIRGenBUiltin.cpp`. Some existing cases were relocated, so the order
matches the order from the switch statement in clangs codegen.
Additionally, some exisiting cases were moved to functions, to keep the
code a little cleaner. In the future, it will be easier to keep track of
which builtins have not been implemented, since there would always be a
NYI case for unimplemented builtins.



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