[all-commits] [llvm/llvm-project] 9d2903: [IndVars] Add check of loop invariant for trunc in...

Markos Horro via All-commits all-commits at lists.llvm.org
Wed Nov 8 03:16:37 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d2903c8e50944224eb294afe7bef13138e1ea7b
      https://github.com/llvm/llvm-project/commit/9d2903c8e50944224eb294afe7bef13138e1ea7b
  Author: Markos Horro <marcosh at amd.com>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

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

  Log Message:
  -----------
  [IndVars] Add check of loop invariant for trunc instructions (#71072)

The same idea as in 34d380e1f63a7e2cdb9ab1e6498f727fcd710a14, but considering
truncation instructions.
Improvement for #59633.




More information about the All-commits mailing list