[PATCH] D81843: [ARM][FPEnv] Lowering of {get,set,reset}_fpenv

John Brawn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 14 06:49:15 PST 2023


john.brawn added a comment.

That would cause an invalid instruction to be emitted when compiling for thumb. I think you need one pattern using MOVi marked with Requires<[IsARM]>, and another using tMOVi8 marked with Requires<[IsThumb]>.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D81843



More information about the llvm-commits mailing list