[all-commits] [llvm/llvm-project] 7eb823: [TableGen] Handle Windows line endings in x86-fold...

Daniel Paoliello via All-commits all-commits at lists.llvm.org
Mon Oct 21 09:59:22 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7eb8238a32516008476b717bc6a2be8c59f7f535
      https://github.com/llvm/llvm-project/commit/7eb8238a32516008476b717bc6a2be8c59f7f535
  Author: Daniel Paoliello <danpao at microsoft.com>
  Date:   2024-10-21 (Mon, 21 Oct 2024)

  Changed paths:
    M llvm/test/TableGen/x86-fold-tables.td

  Log Message:
  -----------
  [TableGen] Handle Windows line endings in x86-fold-tables.td test (#112997)

The x86-fold-tables.td has been failing for me and [in
CI](https://buildkite.com/llvm-project/github-pull-requests/builds/111277#0192a122-c5c9-4e4e-bc5b-7532fec99ae4)
if Git happens to decide to check out the baseline file with Windows
line endings.

This fix for this is to add the `--strip-trailing-cr` option to diff to
normalize the line endings before comparing them.



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