[all-commits] [llvm/llvm-project] b5983a: [IRTranslator][NFC] Refactor if/else chain into ea...

Felipe de Azevedo Piovezan via All-commits all-commits at lists.llvm.org
Thu May 25 03:44:03 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b5983a38cbf4eb405fe9583ab89e15db1dcfa173
      https://github.com/llvm/llvm-project/commit/b5983a38cbf4eb405fe9583ab89e15db1dcfa173
  Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
  Date:   2023-05-25 (Thu, 25 May 2023)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp

  Log Message:
  -----------
  [IRTranslator][NFC] Refactor if/else chain into early returns

This will make it easier to add more cases in a subsequent commit and also
better conforms to the coding guidelines.

Differential Revision: https://reviews.llvm.org/D151328




More information about the All-commits mailing list