Re-write the code to avoid iteration over users of
constants and global values.
Details
Details
- Reviewers
nikic mkazantsev - Commits
- rG6bda53c5914a: [GuardWidening] Re-factor freezeAndPush.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Transforms/Scalar/GuardWidening.cpp | ||
---|---|---|
610 | if (!isa<Constant> && !isa<GlobalValue>)? Easier to understand (maybe it's just me :) ) |
if (!isa<Constant> && !isa<GlobalValue>)? Easier to understand (maybe it's just me :) )