"bytecode" --> "bitcode"

I did this short experiment:

ggreif@my [!297] cd /home/ggreif/llvm

ggreif@my [!298] find . -name "*.cpp" | xargs grep bytecode | wc -l
     143

I guess these are a quick prey for perl's in-place replace.

But wait! There are more:

ggreif@my [!299] find . -name "*.cpp" | xargs grep -i bytecode | wc -l
     291

probably all of the rest is "Bytecode"

ggreif@my [!300] find . -name "*.cpp" | xargs grep Bytecode | wc -l
     151

Indeed :slight_smile:

Cheers,

  Gabor

-- sincerely hoping that I did not spoil anybody's day...

ggreif@my [!297] cd /home/ggreif/llvm

ggreif@my [!298] find . -name "*.cpp" | xargs grep bytecode | wc -l
    143

I guess these are a quick prey for perl's in-place replace.

But wait! There are more:

ggreif@my [!299] find . -name "*.cpp" | xargs grep -i bytecode | wc -l
    291

probably all of the rest is "Bytecode"

ggreif@my [!300] find . -name "*.cpp" | xargs grep Bytecode | wc -l
    151

Indeed :slight_smile:

Thanks for the info. Patches are accepted :wink:

Also, we have a great utility: utils/llvmgrep.

-Tanya

here is part 1 (bugpoint)

I tested that it compiles, but not that it
works.

more patches as my time permits.

Cheers,

  Gabor

Bugpoint-patches.diff (36.5 KB)