[all-commits] [llvm/llvm-project] 9692df: [TableGen][NFC] Use early exit to simplify large b...

Jason Eckhardt via All-commits all-commits at lists.llvm.org
Thu May 8 10:12:36 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9692dff7b7624208f482007c3b76c838b12fda63
      https://github.com/llvm/llvm-project/commit/9692dff7b7624208f482007c3b76c838b12fda63
  Author: Jason Eckhardt <jeckhardt at nvidia.com>
  Date:   2025-05-08 (Thu, 08 May 2025)

  Changed paths:
    M llvm/test/TableGen/cc-assign-to-reg-tuple.td
    M llvm/utils/TableGen/CallingConvEmitter.cpp

  Log Message:
  -----------
  [TableGen][NFC] Use early exit to simplify large block in emitAction. (#138220)

Most of the processing in emitAction is in an unneeded else-block--
reduce indentation by exiting after the recursive call.

`XXXGenCallingConv.inc` are identical before and after this patch for
all targets.



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