[all-commits] [llvm/llvm-project] 413b7a: [BasicAA] Add test showing 32 bit overflow issue f...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Oct 1 03:38:23 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 413b7ac6b535dfb4c57c2842388a2071901b9d56
      https://github.com/llvm/llvm-project/commit/413b7ac6b535dfb4c57c2842388a2071901b9d56
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    A llvm/test/Analysis/BasicAA/gep-implicit-trunc-32-bit-pointers.ll

  Log Message:
  -----------
  [BasicAA] Add test showing 32 bit overflow issue for GEPs.

This patch additional tests with i64 GEP indices for 32 bit pointers.
@mustalias_overflow_in_32_bit_add_mul_gep highlights a case where
BasicAA currently incorrectly determines noalias.

Modeled in Alive2 for 32 bit pointers: https://alive2.llvm.org/ce/z/HHjQgb
Modeled in Alive2 for 64 bit pointers: https://alive2.llvm.org/ce/z/DoWK2c




More information about the All-commits mailing list