[llvm-commits] [llvm] r113845 - /llvm/trunk/include/llvm/Metadata.h
Devang Patel
dpatel at apple.com
Tue Sep 14 13:32:58 PDT 2010
Author: dpatel
Date: Tue Sep 14 15:32:58 2010
New Revision: 113845
URL: http://llvm.org/viewvc/llvm-project?rev=113845&view=rev
Log:
After Dan's recent commit this is no longer true.
Now isFunctionLocal is reset, if required, when operands are modified.
Modified:
llvm/trunk/include/llvm/Metadata.h
Modified: llvm/trunk/include/llvm/Metadata.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Metadata.h?rev=113845&r1=113844&r2=113845&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Metadata.h (original)
+++ llvm/trunk/include/llvm/Metadata.h Tue Sep 14 15:32:58 2010
@@ -144,9 +144,6 @@
unsigned getNumOperands() const { return NumOperands; }
/// isFunctionLocal - Return whether MDNode is local to a function.
- /// Note: MDNodes are designated as function-local when created, and keep
- /// that designation even if their operands are modified to no longer
- /// refer to function-local IR.
bool isFunctionLocal() const {
return (getSubclassDataFromValue() & FunctionLocalBit) != 0;
}
More information about the llvm-commits
mailing list