[llvm-commits] [PATCH] MetaRenamer pass

Chandler Carruth chandlerc at gmail.com
Fri Sep 7 16:52:30 PDT 2012


On Fri, Sep 7, 2012 at 6:47 PM, Alex Rosenberg <alexr at leftfield.org> wrote:

> This simple pass renames everything with "metasyntatic" names like "foo."
>
> It works well after reducing with bugpoint. The original names can become
> confusing, particularly with math/vector code, after bugpoint has altered
> behavior.
>
> I'm a little unsure of the CHECK-NOT in the test, so I'd appreciate extra
> review there.
>
> Please no bikeshedding about the list of metasyntatic words.


Well, lets dispense with that pretense right off shall we?

I have a couple of problems with the list:
1) It's too long. I'd rather a small pool of expected names.
2) Many are quite hard to pronounce. (Of course, I am hopelessly biased
here...)
3) There are quite a few that could easily be confused.

After an intense, scientific and rigorous study of these names by myself
and Richard, we would like to make a counter proposal list:

"foo", "bar", "baz", "quux", "barney", "snork", "zot", "blam",
"wibble", "wobble", "widget", "wombat", "ham", "eggs", "pluto", "spam",

This order is significant. It's in trochic heptameter.

Thoughts?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120907/b1dd20bc/attachment.html>


More information about the llvm-commits mailing list