[PATCH] D46343: [CFLGraph] Fixed Select instruction handling

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 3 16:09:00 PDT 2018


xbolva00 added a comment.

Sorry, I tried to make test case as:

@a = common dso_local global i32 0, align 4
@b = common dso_local global i32 0, align 4

; Function Attrs: norecurse nounwind readnone uwtable
define void @test_select() local_unnamed_addr #0 {
entry:

  select i1 false, i32* @b, i32* @a
  ret void

}

But I got same output with and without patch :(

Since I am unable to create proper test case, I will remove just current test and leave this as is - whether you accept it without patch or leave it buggy..


https://reviews.llvm.org/D46343





More information about the llvm-commits mailing list