[TableGen] fix incorrect code generation for attribute ReadNone for llvm intrinsics

Eric Christopher echristo at gmail.com
Thu Jul 30 14:17:19 PDT 2015


I've applied this thusly:

dzur:~/sources/llvm> git svn dcommit
Committing to https://llvm.org/svn/llvm-project/llvm/trunk ...
M utils/TableGen/IntrinsicEmitter.cpp
Committed r243689


Thanks!

-eric

On Thu, Jul 30, 2015 at 12:22 AM <servuswiegehtz at yahoo.de> wrote:

> From: Pete Abred <servuswiegehtz at yahoo.de>
>
> ---
> Fix typo in code generation of the attribute ReadNone. Noone notices
> before because the attribute is not used yet
>  utils/TableGen/IntrinsicEmitter.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/utils/TableGen/IntrinsicEmitter.cpp
> b/utils/TableGen/IntrinsicEmitter.cpp
> index 18a8db6..cebe5bb 100644
> --- a/utils/TableGen/IntrinsicEmitter.cpp
> +++ b/utils/TableGen/IntrinsicEmitter.cpp
> @@ -636,7 +636,7 @@ EmitAttributes(const std::vector<CodeGenIntrinsic>
> &Ints, raw_ostream &OS) {
>            case CodeGenIntrinsic::ReadNone:
>              if (addComma)
>                OS << ",";
> -            OS << "Attributes::ReadNone";
> +            OS << "Attribute::ReadNone";
>              addComma = true;
>              break;
>            }
> --
> 2.4.3
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150730/dd8817bc/attachment.html>


More information about the llvm-commits mailing list