Eli Friedman

Results 3 issues of Eli Friedman

Testcase derived from boringssl: [boringssl-bcm-testcase.txt](https://github.com/llvm/llvm-project/files/9339270/boringssl-bcm-testcase.txt). The code is sort of complicated, but I'm not sure how to simplify it. I've found that if I revert D64190 (e9aed963ce36) and D57302 (bddb8c359739),...

backend:ARM
llvm:codegen

Consider: ``` int a(unsigned x) { return __builtin_popcount(x); } ``` With -march=rv32i, this generates a call to __mulsi3. This is likely to be slow; if we don't have "m", we...

backend:RISC-V

Consider: ``` int a(unsigned long long x) { return __builtin_popcountll(x); } ``` Targeting rv64, this generates: ``` a: srli a1, a0, 1 lui a2, 349525 addiw a2, a2, 1365 slli...

backend:RISC-V
missed-optimization