commit | b3ef4b83f9450dc040638e8b60a03c368e5b30a8 | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@sifive.com> | Fri Apr 02 23:34:14 2021 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Apr 12 11:00:41 2021 -0700 |
tree | 873a1dfeb3bb19aeb174b746198f41f417bfdb82 | |
parent | d4dcf31af506d46ca9f44c13bd9c1ed51a9205d5 [diff] |
[RISCV] Refactor conversion of B extensions to IR intrinsics a little to reduce clang binary size. These all pass 1 type to getIntrinsic. So rather than assigning IntrinsicTypes for each builtin which invokes the SmallVector constructor, just select the intrinsic ID with a switch and share a single assignment of IntrinsicTypes. GitOrigin-RevId: b4f2e8060075761dd0e9727ea01ca0142b4e767f