[all-commits] [llvm/llvm-project] d46f6c: [GVN] reportMayClobberedLoad - avoid repeated cast...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Thu Dec 15 07:44:54 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d46f6cd7673790168376c52bf383746816630e41
https://github.com/llvm/llvm-project/commit/d46f6cd7673790168376c52bf383746816630e41
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2022-12-15 (Thu, 15 Dec 2022)
Changed paths:
M llvm/lib/Transforms/Scalar/GVN.cpp
Log Message:
-----------
[GVN] reportMayClobberedLoad - avoid repeated cast<> calls. NFCI.
Just perform each cast<Instruction> once - we can make OtherAccess a Instruction* type as we only ever assign it from a known LoadInst/StoreInst
More information about the All-commits
mailing list