[llvm-commits] [PATCH] Add a !mul operator
Dmitri Gribenko
gribozavr at gmail.com
Tue Jan 15 16:51:40 PST 2013
On Wed, Jan 16, 2013 at 2:37 AM, David Greene <dag at cray.com> wrote:
> Add a !mul operator that takes two integer values and yields the
> product. We can use this to produce more readable TableGen files.
Hello David,
It would be nice if you pointed out possible cleanups that !mul would enable.
Dmitri
--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
More information about the llvm-commits
mailing list