This should improve readability of metarenamed code.
Details
Details
Diff Detail
Diff Detail
Event Timeline
llvm/lib/Transforms/Utils/MetaRenamer.cpp | ||
---|---|---|
119 | What do you think about using I.getOpcodeName() in general here? |
llvm/lib/Transforms/Utils/MetaRenamer.cpp | ||
---|---|---|
119 | Interesting idea. |
Comment Actions
LGTM
llvm/test/Transforms/MetaRenamer/opcodes.ll | ||
---|---|---|
16 ↗ | (On Diff #505360) | In the future, we might want to special-case some of these to more typical shorter names, e.g. getelementptr -> gep. |
llvm/test/Transforms/MetaRenamer/opcodes.ll | ||
---|---|---|
16 ↗ | (On Diff #505360) | I was also thinking about block differentiantion basing on their role, e.g. entry, header, preheader etc. But let's move in small steps. |
What do you think about using I.getOpcodeName() in general here?