[all-commits] [llvm/llvm-project] e1d02f: [ARM][Thumb2] Refresh UXTB16 tests to match optimi...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Jun 1 07:30:18 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e1d02f6c37f70a7c66ecbe0294a5c34681b517b1
      https://github.com/llvm/llvm-project/commit/e1d02f6c37f70a7c66ecbe0294a5c34681b517b1
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-06-01 (Wed, 01 Jun 2022)

  Changed paths:
    M llvm/test/CodeGen/ARM/uxtb.ll
    M llvm/test/CodeGen/Thumb2/thumb2-uxtb.ll

  Log Message:
  -----------
  [ARM][Thumb2] Refresh UXTB16 tests to match optimized IR from instcombine

As discussed on D77804, instcombine will have already performed a similar SimplifyMultipleUseDemandedBits call which will break the UXTB16 pattern that was being match in these DAG tests

I've updated the existing tests so that it match the instcombine IR (with a suitable FIXME) and added an equivalent test pattern suggested by @dmgreen


  Commit: 0a9688594062b6303aa89ad0775c9814da8d1a1e
      https://github.com/llvm/llvm-project/commit/0a9688594062b6303aa89ad0775c9814da8d1a1e
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-06-01 (Wed, 01 Jun 2022)

  Changed paths:
    M llvm/test/CodeGen/ARM/uxtb.ll

  Log Message:
  -----------
  [ARM] uxtb.ll - adjust armv6 triple so the update_llc_test_checks.py script can be used to regenerate the tests

No need to specify armv6-apple-darwin in these UXTB codegen tests


Compare: https://github.com/llvm/llvm-project/compare/3a0728029056...0a9688594062


More information about the All-commits mailing list