[all-commits] [llvm/llvm-project] 6af94d: [cgp] Defer lazy domtree usage to last possible point
Philip Reames via All-commits
all-commits at lists.llvm.org
Thu Mar 4 10:20:05 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6af94d22f7b0f7f5edd84ad9ae96fd801dbf017d
https://github.com/llvm/llvm-project/commit/6af94d22f7b0f7f5edd84ad9ae96fd801dbf017d
Author: Philip Reames <listmail at philipreames.com>
Date: 2021-03-04 (Thu, 04 Mar 2021)
Changed paths:
M llvm/lib/CodeGen/CodeGenPrepare.cpp
Log Message:
-----------
[cgp] Defer lazy domtree usage to last possible point
This is a compile time optimization for d9e93e8e5. Not sure this matters or not, but why not do it just in case.
This does involve querying TLI with a potentially invalid addressing mode for the using instruction, but since we don't actually pass the using instruction to the TLI callback, that should be fine.
More information about the All-commits
mailing list