[all-commits] [llvm/llvm-project] 1379eb: [ConstFold] Slightly clean up icmp of two geps fol...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Jan 4 03:35:18 PST 2022


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

  Changed paths:
    M llvm/lib/IR/ConstantFold.cpp

  Log Message:
  -----------
  [ConstFold] Slightly clean up icmp of two geps fold (NFC)

As we're only dealing with one type of constant expression here,
try to directly cast to GEPOperator.




More information about the All-commits mailing list