[all-commits] [llvm/llvm-project] 75bcf5: [X86] replace-load-and-with-bzhi.ll - cleanup chec...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Oct 6 09:30:23 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 75bcf57c16586a0e3995e420ec331056a40a043f
      https://github.com/llvm/llvm-project/commit/75bcf57c16586a0e3995e420ec331056a40a043f
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-10-06 (Sun, 06 Oct 2024)

  Changed paths:
    M llvm/test/CodeGen/X86/replace-load-and-with-bzhi.ll

  Log Message:
  -----------
  [X86] replace-load-and-with-bzhi.ll - cleanup check-prefixes to use X86/X64 for 32/64-bit targets


  Commit: 326a61506ab08337a6b34283d3bbb316018edf42
      https://github.com/llvm/llvm-project/commit/326a61506ab08337a6b34283d3bbb316018edf42
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-10-06 (Sun, 06 Oct 2024)

  Changed paths:
    M llvm/test/CodeGen/X86/replace-load-and-with-bzhi.ll

  Log Message:
  -----------
  [X86] replace-load-and-with-bzhi.ll - add commuted test cases to show failure to fold

Tests showing combineAndLoadToBZHI commutation folding is currently broken


  Commit: 56757e52ebbd79af540c23b00abb13c9bf5f2d60
      https://github.com/llvm/llvm-project/commit/56757e52ebbd79af540c23b00abb13c9bf5f2d60
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-10-06 (Sun, 06 Oct 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/replace-load-and-with-bzhi.ll

  Log Message:
  -----------
  [X86] combineAndLoadToBZHI - don't do an return early return if we fail to match a load

Just continue so we can test the commutated pattern as well.


Compare: https://github.com/llvm/llvm-project/compare/11c6ea3d3bd5...56757e52ebbd

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