summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/ThreadSafety.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2013-11-05 22:44:04 +0000
committerAndrew Trick <atrick@apple.com>2013-11-05 22:44:04 +0000
commit6664df12fb65100bd3643a56b30f63eb27c6b509 (patch)
treed2b5cf56eafcc29b13bead99f23666b94a881da8 /clang/lib/Analysis/ThreadSafety.cpp
parentb09ebe936ba36598f18e69f23e2d07e764ea9a4e (diff)
downloadbcm5719-llvm-6664df12fb65100bd3643a56b30f63eb27c6b509.tar.gz
bcm5719-llvm-6664df12fb65100bd3643a56b30f63eb27c6b509.zip
Slightly change the way stackmap and patchpoint intrinsics are lowered.
MorphNodeTo is not safe to call during DAG building. It eagerly deletes dependent DAG nodes which invalidates the NodeMap. We could expose a safe interface for morphing nodes, but I don't think it's worth it. Just create a new MachineNode and replaceAllUsesWith. My understaning of the SD design has been that we want to support early target opcode selection. That isn't very well supported, but generally works. It seems reasonable to rely on this feature even if it isn't widely used. llvm-svn: 194102
Diffstat (limited to 'clang/lib/Analysis/ThreadSafety.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud