[all-commits] [llvm/llvm-project] 9472a8: Address post commit review feedback from D137046

Philip Reames via All-commits all-commits at lists.llvm.org
Tue Nov 1 13:36:45 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9472a810ed33bc9e655484f43047eed07d50bc16
      https://github.com/llvm/llvm-project/commit/9472a810ed33bc9e655484f43047eed07d50bc16
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2022-11-01 (Tue, 01 Nov 2022)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp

  Log Message:
  -----------
  Address post commit review feedback from D137046

It was pointed out the verifier rejects inttoptr and ptrtoint casts with inputs and outputs whose scalability doesn't match.  As such, checking the input type separately from the type of the cast itself is redundant.




More information about the All-commits mailing list