diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-01-08 22:38:29 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-01-08 22:38:29 +0000 |
| commit | 090a19bd3cab8b4247bb41eecf20e9f0f211332b (patch) | |
| tree | 3c7d1b2041a30c42072457ae7adc70ef5d873bd3 /llvm/utils/vim | |
| parent | 22ffa9b291e17a45ddc553817bbfee9d575e5600 (diff) | |
| download | bcm5719-llvm-090a19bd3cab8b4247bb41eecf20e9f0f211332b.tar.gz bcm5719-llvm-090a19bd3cab8b4247bb41eecf20e9f0f211332b.zip | |
IR: Add 'distinct' MDNodes to bitcode and assembly
Propagate whether `MDNode`s are 'distinct' through the other types of IR
(assembly and bitcode). This adds the `distinct` keyword to assembly.
Currently, no one actually calls `MDNode::getDistinct()`, so these nodes
only get created for:
- self-references, which are never uniqued, and
- nodes whose operands are replaced that hit a uniquing collision.
The concept of distinct nodes is still not quite first-class, since
distinct-ness doesn't yet survive across `MapMetadata()`.
Part of PR22111.
llvm-svn: 225474
Diffstat (limited to 'llvm/utils/vim')
| -rw-r--r-- | llvm/utils/vim/llvm.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/vim/llvm.vim b/llvm/utils/vim/llvm.vim index 7d413dd2ec4..23a34b51336 100644 --- a/llvm/utils/vim/llvm.vim +++ b/llvm/utils/vim/llvm.vim @@ -41,7 +41,7 @@ syn keyword llvmKeyword alignstack alwaysinline appending arm_aapcs_vfpcc syn keyword llvmKeyword arm_aapcscc arm_apcscc asm atomic available_externally syn keyword llvmKeyword blockaddress byval c catch cc ccc cleanup coldcc common syn keyword llvmKeyword constant datalayout declare default define deplibs -syn keyword llvmKeyword dllexport dllimport except extern_weak external +syn keyword llvmKeyword distinct dllexport dllimport except extern_weak external syn keyword llvmKeyword externally_initialized fastcc filter gc global hidden syn keyword llvmKeyword initialexec inlinehint inreg intel_ocl_bicc inteldialect syn keyword llvmKeyword internal linkonce linkonce_odr localdynamic localexec |

