[llvm] [SandboxIR][NFC] GenericSetter tracker class (PR #102260)
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 7 14:04:49 PDT 2024
================
@@ -687,7 +689,10 @@ void LoadInst::dump() const {
void StoreInst::setVolatile(bool V) {
auto &Tracker = Ctx.getTracker();
if (Tracker.isTracking())
----------------
aeubanks wrote:
we might even be able to factor out `if (Tracker.isTracking())` somehow with another helper method. but maybe that's not good for consistency with the other trackers that don't use `GenericSetter`
https://github.com/llvm/llvm-project/pull/102260
More information about the llvm-commits
mailing list