[all-commits] [llvm/llvm-project] 3df5d5: [ConstraintElimination] Fix variables used for pat...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Sun Feb 14 10:43:13 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3df5d5aace0e61592ffa8e9b950d86099228e77d
https://github.com/llvm/llvm-project/commit/3df5d5aace0e61592ffa8e9b950d86099228e77d
Author: Florian Hahn <flo at fhahn.com>
Date: 2021-02-14 (Sun, 14 Feb 2021)
Changed paths:
M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
M llvm/test/Transforms/ConstraintElimination/geps.ll
Log Message:
-----------
[ConstraintElimination] Fix variables used for pattern matching.
Re-using the matched variable in the pattern does not work as expected.
This patch fixes that by introducing a new variable for the 2nd level
match.
More information about the All-commits
mailing list