[all-commits] [llvm/llvm-project] 78c845: [Local] collectBitParts - reduce maximum recursion...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Fri May 14 03:43:16 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 78c8451cd7b1d789fdd81beac0d3f7172bdce31c
https://github.com/llvm/llvm-project/commit/78c8451cd7b1d789fdd81beac0d3f7172bdce31c
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2021-05-14 (Fri, 14 May 2021)
Changed paths:
M llvm/lib/Transforms/Utils/Local.cpp
Log Message:
-----------
[Local] collectBitParts - reduce maximum recursion depth.
As noticed on D90170, the recursion depth for matching a maximum of a i128 bitwidth was too high.
@lebedev.ri mentioned that we can probably do better by limiting the number of collected Values instead of just depth, but I'll look at that later.
Commit: 079bbea2b20dbfd24e4df654bae1c4324dcde754
https://github.com/llvm/llvm-project/commit/079bbea2b20dbfd24e4df654bae1c4324dcde754
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2021-05-14 (Fri, 14 May 2021)
Changed paths:
M llvm/lib/Transforms/Utils/Local.cpp
Log Message:
-----------
[Local] collectBitParts - for bswap-only matches, limit shift amounts to whole bytes to reduce compile time.
Compare: https://github.com/llvm/llvm-project/compare/7ba0e99aec6e...079bbea2b20d
More information about the All-commits
mailing list