[all-commits] [llvm/llvm-project] 4858e0: [ConstraintElimination] Only strip casts preservin...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Mar 26 13:09:42 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4858e081d764537309e8200f144402fb73d603e4
      https://github.com/llvm/llvm-project/commit/4858e081d764537309e8200f144402fb73d603e4
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-03-26 (Fri, 26 Mar 2021)

  Changed paths:
    M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
    M llvm/test/Transforms/ConstraintElimination/pointercast.ll

  Log Message:
  -----------
  [ConstraintElimination] Only strip casts preserving the representation.

Things like addrspacecast may not be no-ops, so we should not look
through them.




More information about the All-commits mailing list