Yes, it does seem to be a regression (and not pilot error) although I can't imagine how. I pulled a new tree and recompiled. Untouched and unpatched the bugs are there. newtst.c newtst.ll and newtst.s are attached. LLVM (http://llvm.org/): LLVM version 3.7.0svn DEBUG build with assertions. Built Feb 2 2015 (22:14:40). Default target: x86_64-apple-darwin14.1.0 Host CPU: penryn /Users/Chris/Desktop/llvm-svn/build/Debug+Asserts/bin/clang -S -O2 -emit-llvm -arch x86_64 -march=core2 -asm-show-inst -asm-verbose newtst.c /Users/Chris/Desktop/llvm-svn/build/Debug+Asserts/bin/llc -O3 -print-before-all -print-after-all -debug-pass=Details newtst.ll -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150203/1697e1a6/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: newtst.s Type: application/octet-stream Size: 1796 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150203/1697e1a6/attachment.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: newtst.ll Type: application/octet-stream Size: 3230 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150203/1697e1a6/attachment-0001.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: newtst.c Type: text/x-csrc Size: 1534 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150203/1697e1a6/attachment.c>
So between 3.4.1 and 3.5 since it isn't in 3.4.1 and it is in the current XCode. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150203/3d490b71/attachment.html>
Hi Chris, If you have everything setup to test, can you generate the LLVM IR with -03 from 3.4.1 and 3.5 to be sure they match. Then we can focus on the backend. Thanks, Mehdi> On Feb 3, 2015, at 1:58 AM, Chris Sears <chris.sears at gmail.com> wrote: > > So between 3.4.1 and 3.5 since it isn't in 3.4.1 and it is in the current XCode.-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150203/1e0b131a/attachment.html>