[RISCV] Simplify usage of SplatPat_simm5_plus1. NFC (#125340)
[llvm-project.git] / clang / test / Analysis / ptr-cmp-const-trunc.cl
blobf70eeb7388345463df370541784a866da91e0ee5
1 //RUN: %clang_analyze_cc1 -triple amdgcn-unknown-unknown -analyzer-checker=core -verify %s
2 // expected-no-diagnostics
4 #include <stdint.h>
6 void bar(__global int *p) __attribute__((nonnull(1)));
8 void foo(__global int *p) {
9 if ((uint64_t)p <= 1UL << 32)
10 bar(p); // no-warning