[all-commits] [llvm/llvm-project] a8c318: [BasicAA] Use index size instead of pointer size

Nikita Popov via All-commits all-commits at lists.llvm.org
Sun Nov 7 09:56:26 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a8c318b50eccc922bc76f22e1791b0420574187d
      https://github.com/llvm/llvm-project/commit/a8c318b50eccc922bc76f22e1791b0420574187d
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-11-07 (Sun, 07 Nov 2021)

  Changed paths:
    M llvm/include/llvm/IR/DataLayout.h
    M llvm/lib/Analysis/BasicAliasAnalysis.cpp
    M llvm/lib/IR/DataLayout.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
    A llvm/test/Analysis/BasicAA/index-size.ll

  Log Message:
  -----------
  [BasicAA] Use index size instead of pointer size

When accumulating the GEP offset in BasicAA, we should use the
pointer index size rather than the pointer size.

Differential Revision: https://reviews.llvm.org/D112370




More information about the All-commits mailing list