Also swap the parameter position to make it consistent with
__builtin_ia32_pdep_si.
Details
Details
- Reviewers
sidneym • espindola
Diff Detail
Diff Detail
- Build Status
Buildable 20479 Build 20479: arc lint + arc unit
Event Timeline
lld/ELF/Arch/Hexagon.cpp | ||
---|---|---|
57 | The comment above is helpful but I'll be honest and say that the above line wouldn't be the first thing to pop into my head. |
Comment Actions
- restore the original code
- renamed Result -> Ret for consistency with other functions
Comment Actions
- Actually, after I rename variables to be more lld-ish and rearranges so that it doesn't compute unnecessary temporary results, it looks similar to my code, but what this does is the same as your code.
The comment above is helpful but I'll be honest and say that the above line wouldn't be the first thing to pop into my head.