Souper says:

; Function: fn1
%0:i32 = var 
%1:i32 = sdiv 1:i32, %0
%2:i32 = or %0, %1
%3:i1 = ne 0:i32, %2
cand %3 1:i1

COMMAND: /home/regehr/souper/build/souper -stp-path=/usr/local/bin/stp reduce_440/foo.bc

LLVM says:

define i32 @fn1() #0 {
entry:
  %0 = load i32* @a, align 4, !tbaa !1
  %div = sdiv i32 1, %0
  %1 = or i32 %div, %0
  %2 = icmp ne i32 %1, 0
  %lor.ext = zext i1 %2 to i32
  ret i32 %lor.ext
}

COMMAND: /home/regehr/souper/third_party/llvm/Debug/bin/clang -c -w -emit-llvm -O3 reduce_440/foo.c -o reduce_440/foo.bc

C source code:

int a;
int fn1() { return 1 / a || a; }

x86-64 from LLVM:

fn1:                                    # @fn1
	movl	a(%rip), %ecx
	movl	$1, %eax
	xorl	%edx, %edx
	idivl	%ecx
	orl	%ecx, %eax
	setne	%al
	movzbl	%al, %eax
	retq

COMMAND: /home/regehr/souper/third_party/llvm/Debug/bin/clang -w -O3 reduce_440/foo.c -S -o -

x86-64 from GCC:

fn1:
	movl	a(%rip), %ecx
	movl	$1, %eax
	cltd
	idivl	%ecx
	movl	$1, %edx
	testl	%eax, %eax
	jne	.L2
	xorl	%edx, %edx
	testl	%ecx, %ecx
	setne	%dl
.L2:
	movl	%edx, %eax
	ret

COMMAND: gcc -w -O3 reduce_440/foo.c -S -o -