[PATCH] D27442: [llgo] Update to use the latest IR attribute bindings

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 5 18:22:04 PST 2016


pcc added inline comments.


================
Comment at: irgen/attribute.go:150
+		kind := llvm.AttributeKindID(strings.ToLower(field))
+		result.AttrKinds = append(result.AttrKinds, kind)
 	}
----------------
We probably don't want to allow arbitrary attributes here. (In fact, I would be happy to see this feature removed entirely; it is untested and exposes too many LLVM specifics.)


https://reviews.llvm.org/D27442





More information about the llvm-commits mailing list