John Criswell
2012-Oct-16 19:03 UTC
[LLVMdev] Changing Alignment Attribute using New Attribute API
Dear All, Under the old attribute API, when we modified the alignment attribute of a byval argument in a caller or callee, we first removed the old alignment attribute and then added a new alignment attribute. With the new API, can I just use the AttrBuilder to build the alignment attribute and then use the addAttribute() method of CallInst and Argument to overwrite the old alignment attribute? -- John T.