[all-commits] [llvm/llvm-project] 5d6390: [SCCP] Check that load/store and global type match

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Feb 11 02:01:34 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d639034652dda9659e45ffd863e5052ab8ffc4a
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-02-11 (Fri, 11 Feb 2022)

  Changed paths:
    M llvm/lib/Analysis/ValueLatticeUtils.cpp
    A llvm/test/Transforms/SCCP/opaque-ptr.ll

  Log Message:
  [SCCP] Check that load/store and global type match

SCCP requires that the load/store type and global type are the
same (it does not support bitcasts of tracked globals). With
typed pointers this was implicitly enforced.

More information about the All-commits mailing list