Souper says:

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

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

LLVM says:

define i32 @fn1() #0 {
entry:
  %0 = load i16* @a, align 2, !tbaa !1
  %conv = sext i16 %0 to i32
  %div = sdiv i32 327671, %conv
  %tobool = icmp ne i32 %div, 0
  %land.ext = zext i1 %tobool to i32
  ret i32 %land.ext
}

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

C source code:

short a;
int fn1() { return 327671 / a && 1; }

x86-64 from LLVM:

fn1:                                    # @fn1
	movswl	a(%rip), %ecx
	movl	$327671, %eax           # imm = 0x4FFF7
	xorl	%edx, %edx
	idivl	%ecx
	testl	%eax, %eax
	setne	%al
	movzbl	%al, %eax
	retq

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

x86-64 from GCC:

fn1:
	movswl	a(%rip), %ecx
	movl	$327671, %eax
	cltd
	idivl	%ecx
	testl	%eax, %eax
	setne	%al
	movzbl	%al, %eax
	ret

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