[PATCH] D61607: Introduce an option to stripPointerCasts to force the same bit pattern
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 6 13:06:04 PDT 2019
arsenm added inline comments.
================
Comment at: llvm/include/llvm/IR/Value.h:504
+ const Value *stripPointerCasts(bool KeepBitPattern = false) const;
+ Value *stripPointerCasts(bool KeepBitPattern = false) {
return const_cast<Value *>(
----------------
I think a separate function name would be more helpful, implemented with a hidden bool argument
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61607/new/
https://reviews.llvm.org/D61607
More information about the llvm-commits
mailing list