If a target has StdExtF, it also has StdExtF, StdExtD and StdExtZfh?
When running command "./build/bin/opt -loop-vectorize -dce -instcombine -mtriple riscv64-linux-gnu -mattr=+experimental-v -debug-only=loop-vectorize -S llvm/test/Transforms/LoopVectorize/RISCV/basic-vec.ll", an "UNREACHABLE executed" error was received.
Missing "+f" in "-mattr" is the reason of "UNREACHABLE executed" error.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
25,210 ms | x64 debian > LLVM.Bindings/Go::go.test |
Event Timeline
llvm/lib/Target/RISCV/RISCVISelLowering.cpp | ||
---|---|---|
139 | It is incorrect. Only Zfh imply F enabled and D imply F enabled. |
Comment Actions
There is no such implication in the V specification. See https://github.com/riscv/riscv-v-spec/issues/608.
llvm/lib/Target/RISCV/RISCVISelLowering.cpp | ||
---|---|---|
139 | Yeah, I should find another way to solve the crash problem. |
It is incorrect. Only Zfh imply F enabled and D imply F enabled.