[LLVMdev] RFC: Constant Hoisting

Chris Sears chris.sears at gmail.com
Tue Feb 3 01:01:41 PST 2015


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>


More information about the llvm-dev mailing list