[all-commits] [llvm/llvm-project] f84cd7: [X86] fold-and-shift-x86_64.ll - add zext test cas...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Aug 24 03:47:28 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f84cd7e57913aa4462cf91d42ace4e5231735ac9
      https://github.com/llvm/llvm-project/commit/f84cd7e57913aa4462cf91d42ace4e5231735ac9
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-08-24 (Thu, 24 Aug 2023)

  Changed paths:
    M llvm/test/CodeGen/X86/fold-and-shift-x86_64.ll

  Log Message:
  -----------
  [X86] fold-and-shift-x86_64.ll - add zext test case where upper bits are known zero (and won't get simplified to any_extend)

Add test coverage showing failure to use foldMaskAndShiftToScale with zero_extend nodes


  Commit: e283ef7e936b8fca9e7216ecc61003e7f9790923
      https://github.com/llvm/llvm-project/commit/e283ef7e936b8fca9e7216ecc61003e7f9790923
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-08-24 (Thu, 24 Aug 2023)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
    M llvm/test/CodeGen/X86/fold-and-shift-x86_64.ll

  Log Message:
  -----------
  [X86] matchAddressRecursively - add foldMaskAndShiftToScale handling to ZERO_EXTEND nodes.


Compare: https://github.com/llvm/llvm-project/compare/c570531c3dcc...e283ef7e936b


More information about the All-commits mailing list