1; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2; RUN: opt < %s -instsimplify -S | FileCheck %s
3
4; TODO: this should be poison
5
6define i32 @poison(i32 %x) {
7; CHECK-LABEL: @poison(
8; CHECK-NEXT:    ret i32 0
9;
10  %v = and i32 %x, poison
11  ret i32 %v
12}
13