[PATCH] D137233: [LoongArch] Add support for the BranchRelaxation pass

Xiaodong Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 4 03:12:20 PDT 2022


XiaodongLoong marked an inline comment as done.
XiaodongLoong added inline comments.


================
Comment at: llvm/test/CodeGen/LoongArch/branch-relaxation.ll:3
+; RUN: llc --mtriple=loongarch32 --filetype=obj --verify-machineinstrs < %s \
+; RUN:   -o /dev/null 2>&1
+; RUN: llc --mtriple=loongarch64 --filetype=obj --verify-machineinstrs < %s \
----------------
StephenFan wrote:
> Is it possible to use `-filetype=null` if the output is not needed?
> Is it possible to use `-filetype=null` if the output is not needed?

Sorry, it is not possible to use `-filetype=null`.
When I use `-filetype=null`, I can not reproduce the errors I want to fix showed as following:
```
<unknown>:0: error: fixup value out of range [-131072, 131071]
<unknown>:0: error: fixup value out of range [-4194304, 4194303]
<unknown>:0: error: fixup value out of range [-4194304, 4194303]
```


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137233



More information about the llvm-commits mailing list