[PATCH] D102625: [RISCV][test] Add new tests of or/xor in the zbs extension

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 17 07:29:14 PDT 2021


benshi001 added a comment.

These tests will show how

  ; RV32IBS-NEXT:    lui a1, 16
  ; RV32IBS-NEXT:    addi a1, a1, 1365
  ; RV32IBS-NEXT:    or a0, a0, a1

will be optimized to

  ; RV32IBS-NEXT:    ori a0, a0, 1365
  ; RV32IBS-NEXT:    bseti a0, 16


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102625/new/

https://reviews.llvm.org/D102625



More information about the llvm-commits mailing list