[all-commits] [llvm/llvm-project] d2e15a: [RS4GC] Cleanup meetBDVState. NFC.
serguei-katkov via All-commits
all-commits at lists.llvm.org
Thu Apr 8 21:18:49 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d2e15a83a664ba6cdfa9d17e81ecc9115b2c5046
https://github.com/llvm/llvm-project/commit/d2e15a83a664ba6cdfa9d17e81ecc9115b2c5046
Author: Serguei Katkov <serguei.katkov at azul.com>
Date: 2021-04-09 (Fri, 09 Apr 2021)
Changed paths:
M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
Log Message:
-----------
[RS4GC] Cleanup meetBDVState. NFC.
meetBDVState looks pretty difficult to read and follow.
This is purely NFC but doing several things:
1) Combine meet and meetBDVState
2) Move the function to be a member of BDVState
3) Make BDVState be a mutable object
4) Convert switch to sequence of ifs
5) Adds comments.
Reviewers: reames, dantrushin
Reviewed By: reames
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D99064
More information about the All-commits
mailing list