Use LUI+SH*ADD+ADDI to compose specific immediates.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I accidentally accepted this and I think I can only undo that by selecting Request Changes. Sorry.
llvm/lib/Target/RISCV/MCTargetDesc/RISCVMatInt.cpp | ||
---|---|---|
294 | Why do we need a cast to uint64_t after the divide? |
llvm/lib/Target/RISCV/MCTargetDesc/RISCVMatInt.cpp | ||
---|---|---|
294 | the cast to uint64 is removed. |
Comment Actions
@benshi001 did you mind take a look for https://github.com/llvm/llvm-project/issues/54812 ?
Why do we need a cast to uint64_t after the divide?