bscarlet / llvm-general

Rich LLVM bindings for Haskell (with transfer of LLVM IR to and from C++, detailed compilation pass control, etc.)
http://hackage.haskell.org/package/llvm-general
132 stars 38 forks source link

Alignment should be a ParameterAttribute rather than a FunctionAttribute #134

Closed tmcdonell closed 9 years ago

tmcdonell commented 9 years ago

Going by the LLVM docs here and here, it looks like maybe the Alignment attribute (here) should be part of ParameterAttribute rather than FunctionAttribute ?

bscarlet commented 9 years ago

Yes. The doc you link to seems to be the first version that includes it. I must have inferred from the code, and wrongly.

bscarlet commented 9 years ago

Fixed on 3.3 and later branches.