[all-commits] [llvm/llvm-project] 1df20f: [JITLink] Fix -Wparentheses warning in R_RISCV_SUB...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Mar 15 07:16:41 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1df20fa8f5aea8c59995f13f30d3212aa75ccdbc
      https://github.com/llvm/llvm-project/commit/1df20fa8f5aea8c59995f13f30d3212aa75ccdbc
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-03-15 (Tue, 15 Mar 2022)

  Changed paths:
    M llvm/lib/ExecutionEngine/JITLink/ELF_riscv.cpp

  Log Message:
  -----------
  [JITLink] Fix -Wparentheses warning in R_RISCV_SUB6 case.

Perform the mask inside parentheses before applying the offset




More information about the All-commits mailing list