[GIsel] Add missing space between type and name in GICombinerHelperArg
authorKai Nacke <kai.nacke@de.ibm.com>
Tue, 2 Aug 2022 17:08:54 +0000 (13:08 -0400)
committerKai Nacke <kai.nacke@de.ibm.com>
Tue, 2 Aug 2022 17:35:25 +0000 (13:35 -0400)
commitd3c4609855e161a8f7a845b42e685ce8273af09c
tree7d9677c4f485511cab59adeb3caaf5029cf3e8c1
parent71aecbb75c7d8b603b1882afa7301e54f3091587
[GIsel] Add missing space between type and name in GICombinerHelperArg

When using AdditionalArguments in a GICombinerHelper, the generator
does not put a space between the type and the name.

E.g.

let AdditionalArguments = [GICombinerHelperArg<"bool", "IsSomething">];

ends up as

boolIsSomething) const;

in the generated file. This change adds a space between the type and the name.

Reviewed By: aemerson

Differential Revision: https://reviews.llvm.org/D130823
llvm/utils/TableGen/GICombinerEmitter.cpp