commit | e553feab843a82e35b81e20ebc736f775c85db32 | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Sat Nov 16 00:20:01 2013 +0000 |
committer | Owen Anderson <resistor@mac.com> | Sat Nov 16 00:20:01 2013 +0000 |
tree | 822a2436719bc1e188bf049da9f6ff65e8f31b2a | |
parent | 87fd14d9b52079828c5db4e1e4878046a7488f81 [diff] |
Small improvement to InstrinsicEmitter::EmitAttributes. This change removes the “pushing” and “clearing” of the SmallVector and instead uses const arrays to pass the attributeKinds to AttributeSet::get . Patch by Aditya Nandakumar. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194899 91177308-0d34-0410-b5e6-96231b3b80d8