[all-commits] [llvm/llvm-project] 8f1350: [IR] Check GEP source type when comparing instruct...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Feb 11 03:32:20 PST 2022


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

  Changed paths:
    M llvm/lib/IR/Instruction.cpp
    A llvm/test/Transforms/SimplifyCFG/opaque-ptr.ll

  Log Message:
  -----------
  [IR] Check GEP source type when comparing instructions

Two GEPs with same indices but different source type are not the
same.

Worth noting that FunctionComparator already handles this correctly.




More information about the All-commits mailing list