GSoC 2023 Week 15 and 16
29 Aug 2023This blog post is related to my GSoC 2023 Project.
I landed these patches in week 15:
-
[InstCombine] Remove unneeded isa<PHINode> check in foldOpIntoPhi
-
[NFC][TLI] Replace std::lower_bound call in getLibFunc with DenseMap lookup
In week 16, I mostly worked on finishing up the tests for the InferAlignment
pass, in D158530
. These
have just been taking their sweet time as I’ve been working on getting a reduced set of test cases, which covers the
functionality without being excessively verbose like before. I also rearranged the patches so that the tests come first,
then the InferAlignment
pass implementation, then the changes to InstCombine
, and finally enabling the pass by
default. This involves the use of a cl::opt
with a default value. Thus, the current order of patches is: