Differential Revision: https://reviews.llvm.org/D63900
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364678
91177308-0d34-0410-b5e6-
96231b3b80d8
break;
case Instruction::Call:
case Instruction::Invoke:
+ case Instruction::FNeg:
case Instruction::Add:
case Instruction::FAdd:
case Instruction::Sub:
; RUN: opt -S < %s -gvn-sink | FileCheck %s
; CHECK-LABEL: sink
-; CHECK: fneg
+; CHECK-NOT: fneg
; CHECK: = phi
+; CHECK: fneg
define float @sink(float %a, float %b, i1 %cmp) {
entry:
br i1 %cmp, label %if.then, label %if.else