[all-commits] [llvm/llvm-project] 243ffc: [X86] Simplify some code in combineTruncatedArithm...

topperc via All-commits all-commits at lists.llvm.org
Sun May 3 23:55:55 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 243ffc0e65ef8ccec002a0addf394b8e0e858825
      https://github.com/llvm/llvm-project/commit/243ffc0e65ef8ccec002a0addf394b8e0e858825
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2020-05-03 (Sun, 03 May 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp

  Log Message:
  -----------
  [X86] Simplify some code in combineTruncatedArithmetic. NFC

We haven't promoted AND/OR/XOR to vXi64 types for a while. So
there's no reason to use isOperationLegalOrPromote. So we can
just use isOperationLegal by merging with ADD handling.




More information about the All-commits mailing list