view test/Transforms/InstCombine/2009-03-24-InfLoop.ll @ 147:c2174574ed3a

LLVM 10
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 14 Aug 2019 16:55:33 +0900
parents 95c75e76d11b
children
line wrap: on
line source

; PR3874
; RUN: opt < %s -instcombine | llvm-dis
  define i1 @test(i32 %x) {
    %A = lshr i32 3968, %x
    %B = and i32 %A, 1
    %C = icmp eq i32 %B, 0
    ret i1 %C
  }