[FastISel] Pass the fneg input operand to hasTrivialKill in FastISel::selectFNeg.
authorCraig Topper <craig.topper@intel.com>
Mon, 6 May 2019 23:09:09 +0000 (23:09 +0000)
committerCraig Topper <craig.topper@intel.com>
Mon, 6 May 2019 23:09:09 +0000 (23:09 +0000)
commit39f1a97417eb70d5df19e5a11e445806df976437
treeedb6f36e7ae80765141df3a28a0ba908f676859b
parent24cfb7a992b08e726a953e7667a2f948a9aabf94
[FastISel] Pass the fneg input operand to hasTrivialKill in FastISel::selectFNeg.

We're trying to calculate the kill flag for OpReg which is the input so we need to pass the input here.

llvm-svn: 360097
llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
llvm/test/CodeGen/X86/fast-isel-fneg-kill.ll