mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-04 03:06:28 +00:00
After Dan's recent commit this is no longer true.
Now isFunctionLocal is reset, if required, when operands are modified. llvm-svn: 113845
This commit is contained in:
parent
632686ac96
commit
7e5ba98681
@ -144,9 +144,6 @@ public:
|
||||
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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user