reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1 2 3 4 5 6 7 8 9 | ; RUN: opt < %s -instsimplify -S | FileCheck %s define i32 @shift_select(i1 %cond) { ; CHECK-LABEL: @shift_select( %s = select i1 %cond, i32 0, i32 1 %r = lshr i32 %s, 1 ret i32 %r ; CHECK: ret i32 0 } |