[PATCH] Fix crash when using NEON array types in inline ASM

Tim Northover t.p.northover at gmail.com
Thu Nov 14 07:38:31 PST 2013


> Thanks for the suggestion, I have attached a patch which falls back to the generic code. However, I have not been able to reproduce your assertion when building with clang. Both clang and llc give the error message "couldn't allocate output register for constraint 'w'", then exit with no further errors or assertions. What command-line are you using to run clang?

$ clang tmp.c -S -o- -ffreestanding -target thumbv7-linux-gnueabi
-mcpu=cortex-a9

But if you can't reproduce it then it's not really fair to get you to
work out what's going on. The patch you've attached looks good in
those circumstances; would you like me to commit it?

Cheers.

Tim.




More information about the llvm-commits mailing list