[all-commits] [llvm/llvm-project] b00ad3: [RISCV] Use hasFeature instead of checkFeature in ...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Mar 17 09:05:34 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b00ad366323cee324b0294f6395c33ae4b047e2c
      https://github.com/llvm/llvm-project/commit/b00ad366323cee324b0294f6395c33ae4b047e2c
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
    M llvm/tools/llvm-exegesis/lib/RISCV/Target.cpp

  Log Message:
  -----------
  [RISCV] Use hasFeature instead of checkFeature in llvm-exegesis. NFC (#131401)

Until recently checkFeature was quite slow. #130936

I was curious where we use checkFeature and noticed these. I thought we
could use hasFeature instead of going through strings.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list