GlobalISel is used in option -O0, so add MOVI pattern for it,
which is done similar in gcc.(https://godbolt.org/z/8j6fzG3h6)
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Optimizations specifically for -O0 are not usually needed, but it's good to add the optimization for global-isel.
llvm/test/CodeGen/AArch64/fast-isel-const-float.ll | ||
---|---|---|
2 | This isn't testing fast-isel. Can you just add a -global-isel run line for the tests you already added for using movi? |
Comment Actions
Code looks equivalent to the fpimm32SIMDModImmType4XForm in AArch64InstrFormats.td, which looks fine to me.
This isn't testing fast-isel. Can you just add a -global-isel run line for the tests you already added for using movi?