[IR] Have AttrBuilder::clear clear `TargetDepAttrs`.
authorSanjoy Das <sanjoy@playingwithpointers.com>
Thu, 3 Sep 2015 22:27:42 +0000 (22:27 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Thu, 3 Sep 2015 22:27:42 +0000 (22:27 +0000)
commitdc0eb17133567488576c3541a450665d51c3a3bb
treea4ba43db8e054b459d75277f7855e7fa57713e09
parent383054783d4afc738f7c16b45b0943b521a34a89
[IR] Have AttrBuilder::clear clear `TargetDepAttrs`.

Test case attached -- currently the parser smears the "foo bar" to all
of the formal arguments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246812 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/Attributes.cpp
test/Assembler/incorrect-tdep-attrs-parsing.ll [new file with mode: 0644]