[all-commits] [llvm/llvm-project] 89172e: [X86] combineBitcastToBoolVector - add XOR + Const...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri May 24 08:31:02 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 89172e954c51b16e5556f758e1a91dd385bc5aab
      https://github.com/llvm/llvm-project/commit/89172e954c51b16e5556f758e1a91dd385bc5aab
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-05-24 (Fri, 24 May 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/pr93000.ll

  Log Message:
  -----------
  [X86] combineBitcastToBoolVector - add XOR + Constant handling, match existing BITCASTs and limit recursion depth

Add XOR + constant handling to allow us to detect NOT patterns.

If a recursive combineBitcastToBoolVector call finds an existing BITCAST node then use that.

As combineBitcastToBoolVector is recursive, ensure we limit the maximum recursion depth.

Fixes #93000



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