[all-commits] [llvm/llvm-project] d0fea1: Scalarizer: Fix fragile test of constant pointer

Matt Arsenault via All-commits all-commits at lists.llvm.org
Sun Nov 27 07:49:01 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d0fea14d42dc8fedb91ee06784bd049a807ad13b
      https://github.com/llvm/llvm-project/commit/d0fea14d42dc8fedb91ee06784bd049a807ad13b
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2022-11-27 (Sun, 27 Nov 2022)

  Changed paths:
    M llvm/test/Transforms/Scalarizer/vector-gep.ll

  Log Message:
  -----------
  Scalarizer: Fix fragile test of constant pointer

It was using a bitcast instruction of a global to test a constant
pointer. After the opaquify script, the test would fold away to
nothing. Add some return uses, and try to test constant base pointers
more meaningfully.




More information about the All-commits mailing list