[all-commits] [llvm/llvm-project] 34d380: [IndVars] Add check of loop invariant for indirect...
Allen via All-commits
all-commits at lists.llvm.org
Sat Jun 3 07:33:52 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 34d380e1f63a7e2cdb9ab1e6498f727fcd710a14
https://github.com/llvm/llvm-project/commit/34d380e1f63a7e2cdb9ab1e6498f727fcd710a14
Author: zhongyunde <zhongyunde at huawei.com>
Date: 2023-06-03 (Sat, 03 Jun 2023)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
A llvm/test/Transforms/IndVarSimplify/pr59633.ll
Log Message:
-----------
[IndVars] Add check of loop invariant for indirect use
We usually only check direct use instruction of IV, while the
bitcast of 'ptrtoint ptr to i64' doesn't affect the result, so go
a step further.
Fix https://github.com/llvm/llvm-project/issues/59633.
Reviewed By: markoshorro
Differential Revision: https://reviews.llvm.org/D151877
More information about the All-commits
mailing list