• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: opt < %s -instcombine -S | not grep ashr
2
3define i32 @foo(i32 %x) {
4  %o = and i32 %x, 1
5  %n = add i32 %o, -1
6  %t = ashr i32 %n, 17
7  ret i32 %t
8}
9