[all-commits] [llvm/llvm-project] a78f5c: [IndVars] Use IRBuilder in eliminateTrunc [nfc-ish...

Philip Reames via All-commits all-commits at lists.llvm.org
Tue Oct 31 14:38:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a78f5c064975f4d597ed1b18206d579748eb91cb
      https://github.com/llvm/llvm-project/commit/a78f5c064975f4d597ed1b18206d579748eb91cb
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2023-10-31 (Tue, 31 Oct 2023)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
    M llvm/test/Transforms/IndVarSimplify/X86/eliminate-trunc.ll
    M llvm/test/Transforms/IndVarSimplify/ada-loops.ll

  Log Message:
  -----------
  [IndVars] Use IRBuilder in eliminateTrunc [nfc-ish] (#70836)

Mostly a cleanup so that we don't need to manually emit instructions,
and can eagerly constant fold where relevant.




More information about the All-commits mailing list