https://bugs.llvm.org/show_bug.cgi?id=9004

Florian Hahn <florian.h...@arm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |florian.h...@arm.com
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Florian Hahn <florian.h...@arm.com> ---
correlated value propagation gets this using LVI. I am closing this now, please
reopen in case I missed anything.

opt -correlated-propagation lvi2.ll -S                                          
; ModuleID = 'lvi2.ll'
source_filename = "lvi2.ll"

define i1 @foo(i32 %x) {
  %cond = icmp eq i32 %x, 0
  br i1 %cond, label %iftrue, label %iffalse

iftrue:                                           ; preds = %0
  ret i1 true

iffalse:                                          ; preds = %0
  ret i1 false
}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to