#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ printf(char *, ...);
ushift() {
  unsigned u;
  printf("Unsigned shifts by constants\n");
  u = 0150715;
  printf(" u = %6o\n", u);
  printf(" u>>0  %6o\n", u >> 0);
  printf(" u>>1  %6o\n", u >> 1);
  printf(" u>>2  %6o\n", u >> 2);
  printf(" u>>3  %6o\n", u >> 3);
  printf(" u>>4  %6o\n", u >> 4);
  printf(" u>>5  %6o\n", u >> 5);
  printf(" u>>6  %6o\n", u >> 6);
  printf(" u>>7  %6o\n", u >> 7);
  printf(" u>>8  %6o\n", u >> 8);
  printf(" u>>9  %6o\n", u >> 9);
  printf(" u>>10 %6o\n", u >> 10);
  printf(" u>>11 %6o\n", u >> 11);
  printf(" u>>12 %6o\n", u >> 12);
  printf(" u>>13 %6o\n", u >> 13);
  printf(" u>>14 %6o\n", u >> 14);
  printf(" u>>15 %6o\n", u >> 15);
  if (sizeof(unsigned) > 2)
    printf(" u>>16 %6o\n", u >> 16);
  printf(" u<<0  %6o\n", u << 0);
  printf(" u<<1  %6o\n", u << 1);
  printf(" u<<2  %6o\n", u << 2);
  printf(" u<<3  %6o\n", u << 3);
  printf(" u<<4  %6o\n", u << 4);
  printf(" u<<5  %6o\n", u << 5);
  printf(" u<<6  %6o\n", u << 6);
  printf(" u<<7  %6o\n", u << 7);
  printf(" u<<8  %6o\n", u << 8);
  printf(" u<<9  %6o\n", u << 9);
  printf(" u<<10 %6o\n", u << 10);
  printf(" u<<11 %6o\n", u << 11);
  printf(" u<<12 %6o\n", u << 12);
  printf(" u<<13 %6o\n", u << 13);
  printf(" u<<14 %6o\n", u << 14);
  printf(" u<<15 %6o\n", u << 15);
  if (sizeof(unsigned) > 2)
    printf(" u<<16 %6o\n", u << 16);
}


x86 assembly (clang, -O0):
<ushift>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
lea    0xee1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0xd1cd,-0x8(%rbp)
mov    -0x8(%rbp),%esi
lea    0xee7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
shr    $0x0,%esi
lea    0xedd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
shr    $0x1,%esi
lea    0xed5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
shr    $0x2,%esi
lea    0xecd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
shr    $0x3,%esi
lea    0xec5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
shr    $0x4,%esi
lea    0xebd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
shr    $0x5,%esi
lea    0xeb5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
shr    $0x6,%esi
lea    0xead(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
shr    $0x7,%esi
lea    0xea5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
shr    $0x8,%esi
lea    0xe9d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
shr    $0x9,%esi
lea    0xe95(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
shr    $0xa,%esi
lea    0xe8d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
shr    $0xb,%esi
lea    0xe85(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
shr    $0xc,%esi
lea    0xe7d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
shr    $0xd,%esi
lea    0xe75(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
shr    $0xe,%esi
lea    0xe6d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
shr    $0xf,%esi
lea    0xe65(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
shr    $0x10,%esi
lea    0xe5d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
shl    $0x0,%esi
lea    0xe55(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
shl    $0x1,%esi
lea    0xe4d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
shl    $0x2,%esi
lea    0xe45(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
shl    $0x3,%esi
lea    0xe3d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
shl    $0x4,%esi
lea    0xe35(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
shl    $0x5,%esi
lea    0xe2d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
shl    $0x6,%esi
lea    0xe25(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
shl    $0x7,%esi
lea    0xe1d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
shl    $0x8,%esi
lea    0xe15(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
shl    $0x9,%esi
lea    0xe0d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
shl    $0xa,%esi
lea    0xe05(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
shl    $0xb,%esi
lea    0xdfd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
shl    $0xc,%esi
lea    0xdf5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
shl    $0xd,%esi
lea    0xded(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
shl    $0xe,%esi
lea    0xde5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
shl    $0xf,%esi
lea    0xddd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
shl    $0x10,%esi
lea    0xdd5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<ushift>:
push   %rax
lea    0x107a(%rip),%rdi
call   1030 <puts@plt>
lea    0xecc(%rip),%rdi
mov    $0xd1cd,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xec3(%rip),%rdi
mov    $0xd1cd,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xebc(%rip),%rdi
mov    $0x68e6,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xeb5(%rip),%rdi
mov    $0x3473,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xeae(%rip),%rdi
mov    $0x1a39,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xea7(%rip),%rdi
mov    $0xd1c,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xea0(%rip),%rdi
mov    $0x68e,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe99(%rip),%rdi
mov    $0x347,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe92(%rip),%rdi
mov    $0x1a3,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe8b(%rip),%rdi
mov    $0xd1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe84(%rip),%rdi
mov    $0x68,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe7d(%rip),%rdi
mov    $0x34,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe76(%rip),%rdi
mov    $0x1a,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe6f(%rip),%rdi
mov    $0xd,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe68(%rip),%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe61(%rip),%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe5a(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe53(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe4f(%rip),%rdi
mov    $0xd1cd,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe48(%rip),%rdi
mov    $0x1a39a,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe41(%rip),%rdi
mov    $0x34734,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe3a(%rip),%rdi
mov    $0x68e68,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe33(%rip),%rdi
mov    $0xd1cd0,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe2c(%rip),%rdi
mov    $0x1a39a0,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe25(%rip),%rdi
mov    $0x347340,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe1e(%rip),%rdi
mov    $0x68e680,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe17(%rip),%rdi
mov    $0xd1cd00,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe10(%rip),%rdi
mov    $0x1a39a00,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe09(%rip),%rdi
mov    $0x3473400,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe02(%rip),%rdi
mov    $0x68e6800,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xdfb(%rip),%rdi
mov    $0xd1cd000,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xdf4(%rip),%rdi
mov    $0x1a39a000,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xded(%rip),%rdi
mov    $0x34734000,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xde6(%rip),%rdi
mov    $0x68e68000,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xddf(%rip),%rdi
mov    $0xd1cd0000,%esi
xor    %eax,%eax
pop    %rcx
jmp    1040 <printf@plt>

LLVM IR (-O0):
@.str = [30 x i8] c"Unsigned shifts by constants\0A\00"
@.str.1 = [10 x i8] c" u = %6o\0A\00"
@.str.2 = [12 x i8] c" u>>0 %6o\0A\00"
@.str.3 = [12 x i8] c" u>>1 %6o\0A\00"
@.str.4 = [12 x i8] c" u>>2 %6o\0A\00"
@.str.5 = [12 x i8] c" u>>3 %6o\0A\00"
@.str.6 = [12 x i8] c" u>>4 %6o\0A\00"
@.str.7 = [12 x i8] c" u>>5 %6o\0A\00"
@.str.8 = [12 x i8] c" u>>6 %6o\0A\00"
@.str.9 = [12 x i8] c" u>>7 %6o\0A\00"
@.str.10 = [12 x i8] c" u>>8 %6o\0A\00"
@.str.11 = [12 x i8] c" u>>9 %6o\0A\00"
@.str.12 = [12 x i8] c" u>>10 %6o\0A\00"
@.str.13 = [12 x i8] c" u>>11 %6o\0A\00"
@.str.14 = [12 x i8] c" u>>12 %6o\0A\00"
@.str.15 = [12 x i8] c" u>>13 %6o\0A\00"
@.str.16 = [12 x i8] c" u>>14 %6o\0A\00"
@.str.17 = [12 x i8] c" u>>15 %6o\0A\00"
@.str.18 = [12 x i8] c" u>>16 %6o\0A\00"
@.str.19 = [12 x i8] c" u<<0 %6o\0A\00"
@.str.20 = [12 x i8] c" u<<1 %6o\0A\00"
@.str.21 = [12 x i8] c" u<<2 %6o\0A\00"
@.str.22 = [12 x i8] c" u<<3 %6o\0A\00"
@.str.23 = [12 x i8] c" u<<4 %6o\0A\00"
@.str.24 = [12 x i8] c" u<<5 %6o\0A\00"
@.str.25 = [12 x i8] c" u<<6 %6o\0A\00"
@.str.26 = [12 x i8] c" u<<7 %6o\0A\00"
@.str.27 = [12 x i8] c" u<<8 %6o\0A\00"
@.str.28 = [12 x i8] c" u<<9 %6o\0A\00"
@.str.29 = [12 x i8] c" u<<10 %6o\0A\00"
@.str.30 = [12 x i8] c" u<<11 %6o\0A\00"
@.str.31 = [12 x i8] c" u<<12 %6o\0A\00"
@.str.32 = [12 x i8] c" u<<13 %6o\0A\00"
@.str.33 = [12 x i8] c" u<<14 %6o\0A\00"
@.str.34 = [12 x i8] c" u<<15 %6o\0A\00"
@.str.35 = [12 x i8] c" u<<16 %6o\0A\00"
define i32 @ushift() {
%1 = alloca i32
%2 = alloca i32
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0))
store i32 53709, i32* %2
%4 = load i32, i32* %2
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 %4)
%6 = load i32, i32* %2
%7 = lshr i32 %6, 0
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 %7)
%9 = load i32, i32* %2
%10 = lshr i32 %9, 1
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0), i32 %10)
%12 = load i32, i32* %2
%13 = lshr i32 %12, 2
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0), i32 %13)
%15 = load i32, i32* %2
%16 = lshr i32 %15, 3
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i32 %16)
%18 = load i32, i32* %2
%19 = lshr i32 %18, 4
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0), i32 %19)
%21 = load i32, i32* %2
%22 = lshr i32 %21, 5
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.7, i64 0, i64 0), i32 %22)
%24 = load i32, i32* %2
%25 = lshr i32 %24, 6
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0), i32 %25)
%27 = load i32, i32* %2
%28 = lshr i32 %27, 7
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.9, i64 0, i64 0), i32 %28)
%30 = load i32, i32* %2
%31 = lshr i32 %30, 8
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.10, i64 0, i64 0), i32 %31)
%33 = load i32, i32* %2
%34 = lshr i32 %33, 9
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.11, i64 0, i64 0), i32 %34)
%36 = load i32, i32* %2
%37 = lshr i32 %36, 10
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0), i32 %37)
%39 = load i32, i32* %2
%40 = lshr i32 %39, 11
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.13, i64 0, i64 0), i32 %40)
%42 = load i32, i32* %2
%43 = lshr i32 %42, 12
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.14, i64 0, i64 0), i32 %43)
%45 = load i32, i32* %2
%46 = lshr i32 %45, 13
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.15, i64 0, i64 0), i32 %46)
%48 = load i32, i32* %2
%49 = lshr i32 %48, 14
%50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.16, i64 0, i64 0), i32 %49)
%51 = load i32, i32* %2
%52 = lshr i32 %51, 15
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.17, i64 0, i64 0), i32 %52)
%54 = load i32, i32* %2
%55 = lshr i32 %54, 16
%56 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.18, i64 0, i64 0), i32 %55)
%57 = load i32, i32* %2
%58 = shl i32 %57, 0
%59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.19, i64 0, i64 0), i32 %58)
%60 = load i32, i32* %2
%61 = shl i32 %60, 1
%62 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.20, i64 0, i64 0), i32 %61)
%63 = load i32, i32* %2
%64 = shl i32 %63, 2
%65 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.21, i64 0, i64 0), i32 %64)
%66 = load i32, i32* %2
%67 = shl i32 %66, 3
%68 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.22, i64 0, i64 0), i32 %67)
%69 = load i32, i32* %2
%70 = shl i32 %69, 4
%71 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.23, i64 0, i64 0), i32 %70)
%72 = load i32, i32* %2
%73 = shl i32 %72, 5
%74 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.24, i64 0, i64 0), i32 %73)
%75 = load i32, i32* %2
%76 = shl i32 %75, 6
%77 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.25, i64 0, i64 0), i32 %76)
%78 = load i32, i32* %2
%79 = shl i32 %78, 7
%80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.26, i64 0, i64 0), i32 %79)
%81 = load i32, i32* %2
%82 = shl i32 %81, 8
%83 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.27, i64 0, i64 0), i32 %82)
%84 = load i32, i32* %2
%85 = shl i32 %84, 9
%86 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.28, i64 0, i64 0), i32 %85)
%87 = load i32, i32* %2
%88 = shl i32 %87, 10
%89 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.29, i64 0, i64 0), i32 %88)
%90 = load i32, i32* %2
%91 = shl i32 %90, 11
%92 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.30, i64 0, i64 0), i32 %91)
%93 = load i32, i32* %2
%94 = shl i32 %93, 12
%95 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.31, i64 0, i64 0), i32 %94)
%96 = load i32, i32* %2
%97 = shl i32 %96, 13
%98 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.32, i64 0, i64 0), i32 %97)
%99 = load i32, i32* %2
%100 = shl i32 %99, 14
%101 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.33, i64 0, i64 0), i32 %100)
%102 = load i32, i32* %2
%103 = shl i32 %102, 15
%104 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.34, i64 0, i64 0), i32 %103)
%105 = load i32, i32* %2
%106 = shl i32 %105, 16
%107 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.35, i64 0, i64 0), i32 %106)
%108 = load i32, i32* %1
ret i32 %108
}

LLVM IR (-O2):
@.str.1 = [10 x i8] c" u = %6o\0A\00"
@.str.2 = [12 x i8] c" u>>0 %6o\0A\00"
@.str.3 = [12 x i8] c" u>>1 %6o\0A\00"
@.str.4 = [12 x i8] c" u>>2 %6o\0A\00"
@.str.5 = [12 x i8] c" u>>3 %6o\0A\00"
@.str.6 = [12 x i8] c" u>>4 %6o\0A\00"
@.str.7 = [12 x i8] c" u>>5 %6o\0A\00"
@.str.8 = [12 x i8] c" u>>6 %6o\0A\00"
@.str.9 = [12 x i8] c" u>>7 %6o\0A\00"
@.str.10 = [12 x i8] c" u>>8 %6o\0A\00"
@.str.11 = [12 x i8] c" u>>9 %6o\0A\00"
@.str.12 = [12 x i8] c" u>>10 %6o\0A\00"
@.str.13 = [12 x i8] c" u>>11 %6o\0A\00"
@.str.14 = [12 x i8] c" u>>12 %6o\0A\00"
@.str.15 = [12 x i8] c" u>>13 %6o\0A\00"
@.str.16 = [12 x i8] c" u>>14 %6o\0A\00"
@.str.17 = [12 x i8] c" u>>15 %6o\0A\00"
@.str.18 = [12 x i8] c" u>>16 %6o\0A\00"
@.str.19 = [12 x i8] c" u<<0 %6o\0A\00"
@.str.20 = [12 x i8] c" u<<1 %6o\0A\00"
@.str.21 = [12 x i8] c" u<<2 %6o\0A\00"
@.str.22 = [12 x i8] c" u<<3 %6o\0A\00"
@.str.23 = [12 x i8] c" u<<4 %6o\0A\00"
@.str.24 = [12 x i8] c" u<<5 %6o\0A\00"
@.str.25 = [12 x i8] c" u<<6 %6o\0A\00"
@.str.26 = [12 x i8] c" u<<7 %6o\0A\00"
@.str.27 = [12 x i8] c" u<<8 %6o\0A\00"
@.str.28 = [12 x i8] c" u<<9 %6o\0A\00"
@.str.29 = [12 x i8] c" u<<10 %6o\0A\00"
@.str.30 = [12 x i8] c" u<<11 %6o\0A\00"
@.str.31 = [12 x i8] c" u<<12 %6o\0A\00"
@.str.32 = [12 x i8] c" u<<13 %6o\0A\00"
@.str.33 = [12 x i8] c" u<<14 %6o\0A\00"
@.str.34 = [12 x i8] c" u<<15 %6o\0A\00"
@.str.35 = [12 x i8] c" u<<16 %6o\0A\00"
@str = [29 x i8] c"Unsigned shifts by constants\00"
define i32 @ushift() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 53709)
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 53709)
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0), i32 26854)
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0), i32 13427)
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i32 6713)
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0), i32 3356)
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.7, i64 0, i64 0), i32 1678)
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0), i32 839)
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.9, i64 0, i64 0), i32 419)
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.10, i64 0, i64 0), i32 209)
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.11, i64 0, i64 0), i32 104)
%13 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0), i32 52)
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.13, i64 0, i64 0), i32 26)
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.14, i64 0, i64 0), i32 13)
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.15, i64 0, i64 0), i32 6)
%17 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.16, i64 0, i64 0), i32 3)
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.17, i64 0, i64 0), i32 1)
%19 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.18, i64 0, i64 0), i32 0)
%20 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.19, i64 0, i64 0), i32 53709)
%21 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.20, i64 0, i64 0), i32 107418)
%22 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.21, i64 0, i64 0), i32 214836)
%23 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.22, i64 0, i64 0), i32 429672)
%24 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.23, i64 0, i64 0), i32 859344)
%25 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.24, i64 0, i64 0), i32 1718688)
%26 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.25, i64 0, i64 0), i32 3437376)
%27 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.26, i64 0, i64 0), i32 6874752)
%28 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.27, i64 0, i64 0), i32 13749504)
%29 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.28, i64 0, i64 0), i32 27499008)
%30 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.29, i64 0, i64 0), i32 54998016)
%31 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.30, i64 0, i64 0), i32 109996032)
%32 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.31, i64 0, i64 0), i32 219992064)
%33 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.32, i64 0, i64 0), i32 439984128)
%34 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.33, i64 0, i64 0), i32 879968256)
%35 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.34, i64 0, i64 0), i32 1759936512)
%36 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.35, i64 0, i64 0), i32 -775094272)
ret i32 undef
}