[all-commits] [llvm/llvm-project] e42707: [AArch64][x86] add tests for add-with-overflow fol...

RotateRight via All-commits all-commits at lists.llvm.org
Thu Jul 29 04:58:29 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e427077ec10ea18ac21f5065342183481d87783a
      https://github.com/llvm/llvm-project/commit/e427077ec10ea18ac21f5065342183481d87783a
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-07-29 (Thu, 29 Jul 2021)

  Changed paths:
    M llvm/test/CodeGen/AArch64/addsub.ll
    M llvm/test/CodeGen/X86/combine-add.ll

  Log Message:
  -----------
  [AArch64][x86] add tests for add-with-overflow folds; NFC

There's a generic combine for these, but no test coverage.
It's not clear if this is actually a good fold.
The combine was added with D58874, but it has a bug that
can cause crashing ( https://llvm.org/PR51238 ).




More information about the All-commits mailing list