git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153574
91177308-0d34-0410-b5e6-
96231b3b80d8
//===---------------------------------------------------------------------===//
+int f(int i, int j) { return i < j + 1; }
+int g(int i, int j) { return j > i - 1; }
+Should combine to "i <= j" (the add/sub has nsw). Currently not
+optimized with "clang -emit-llvm-bc | opt -std-compile-opts".
+
+//===---------------------------------------------------------------------===//
+
This was noticed in the entryblock for grokdeclarator in 403.gcc:
%tmp = icmp eq i32 %decl_context, 4