[all-commits] [llvm/llvm-project] d839af: [InstCombine] Avoid pointer element type access in...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Jan 27 03:28:55 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d839afe3f9a04288f20698c3a28c096a1822f3a1
      https://github.com/llvm/llvm-project/commit/d839afe3f9a04288f20698c3a28c096a1822f3a1
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-01-27 (Thu, 27 Jan 2022)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp

  Log Message:
  -----------
  [InstCombine] Avoid pointer element type access in PointerReplacer

This code replaces the address space of the pointers while keeping
the element type. Use the appropriate helpers to make this work
with opaque pointers.




More information about the All-commits mailing list