refactor assume bulider for the next patch.
the assume builder now generate only one assume per attribute kind and per value they are on. to do this it takes the highest. this is desirable because currently, for all attributes the higest value is the most valuable.
Details
Details
- Reviewers
jdoerfert - Commits
- rGe5f8a77c1965: [AssumeBundles] Refactor asssume builder
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Two comments to consider but other than that LGTM.
llvm/lib/Transforms/Utils/AssumeBundleBuilder.cpp | ||
---|---|---|
144 | Nit: Can you make local variables with explicit types out of the MapElem so it is easier to follow the code? | |
193 | I guess the above is already reason enough to have a helper to create either the AssumeBuilderState from an instruction or even call the build after as well. |
Nit: Can you make local variables with explicit types out of the MapElem so it is easier to follow the code?