[all-commits] [llvm/llvm-project] f74472: [X86] combineXor - limit fold to non-opaque consta...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri May 7 08:40:18 PDT 2021


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

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

  Log Message:
  -----------
  [X86] combineXor - limit fold to non-opaque constants (PR50254)

Ensure we don't try to fold when one might be an opaque constant - the constant fold will fail and then the reverse fold will happen in DAGCombine.....




More information about the All-commits mailing list