[all-commits] [llvm/llvm-project] c3a472: [X86] Don't emit two X86ISD::COMI/UCOMI nodes when...

topperc via All-commits all-commits at lists.llvm.org
Mon Feb 3 20:08:47 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c3a47221e053a9a0697d27fc3701f29d4058e065
      https://github.com/llvm/llvm-project/commit/c3a47221e053a9a0697d27fc3701f29d4058e065
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2020-02-03 (Mon, 03 Feb 2020)

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

  Log Message:
  -----------
  [X86] Don't emit two X86ISD::COMI/UCOMI nodes when handling comi/ucomi intrinsics.

We were creating two with different operand orders, and then only
using one of them.

Instead just swap the operands when needed and create a single node.




More information about the All-commits mailing list