[PATCH] D29283: [ARM] Avoid using ARM instructions in Thumb mode

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 31 03:50:31 PST 2017


samparker added a comment.

Hi Renato,

Yes, I will look into the v7VE issue; however, I'm not sure how using an InstAlias would be possible since the operation of SWP and LDREX/STREX pair seems different to my understanding. The STREX returns a store success flag while SWP can atomically swap the value between a register and a memory location. Am I misunderstanding the use of these instructions?

Cheers,
Sam


https://reviews.llvm.org/D29283





More information about the llvm-commits mailing list