Changes in directory llvm/lib/Transforms/Utils:
ValueMapper.cpp updated: 1.22 -> 1.23 --- Log message: add valuemapper support for inline asm --- Diffs of the changes: (+1 -1) ValueMapper.cpp | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Transforms/Utils/ValueMapper.cpp diff -u llvm/lib/Transforms/Utils/ValueMapper.cpp:1.22 llvm/lib/Transforms/Utils/ValueMapper.cpp:1.23 --- llvm/lib/Transforms/Utils/ValueMapper.cpp:1.22 Sun Mar 26 23:50:18 2006 +++ llvm/lib/Transforms/Utils/ValueMapper.cpp Sat Apr 1 17:17:11 2006 @@ -24,7 +24,7 @@ // Global values do not need to be seeded into the ValueMap if they are using // the identity mapping. - if (isa<GlobalValue>(V)) + if (isa<GlobalValue>(V) || isa<InlineAsm>(V)) return VMSlot = const_cast<Value*>(V); if (Constant *C = const_cast<Constant*>(dyn_cast<Constant>(V))) { _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits