Skip to content

[llvm-diff] False alarm on PHI node of identical modules #56076

@Nuullll

Description

@Nuullll

Reproducer:

$ llvm-diff a.ll a.ll

in function foo:
  in block %exit:
    >   %res = phi double [ 0.000000e+00, %entry ], [ %0, %else ]
    <   %res = phi double [ 0.000000e+00, %entry ], [ %0, %else ]
; a.ll
define double @foo() {
entry:
  br i1 true, label %else, label %exit

else:
  %0 = extractelement <2 x double> zeroinitializer, i64 0
  br label %exit

exit:
  %res = phi double [ 0.000000e+00, %entry ], [ %0, %else ]
  ret double 0.000000e+00
}

llvm version: head c5990d3

Metadata

Metadata

Assignees

No one assigned

    Labels

    llvm-toolsAll llvm tools that do not have corresponding tag

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions