Don't run the full inliner when passed -O3 -fplugin-arg-dragonegg-ir-optimize=0.


git-svn-id: https://llvm.org/svn/llvm-project/dragonegg/trunk@183419 91177308-0d34-0410-b5e6-96231b3b80d8
When LLVM optimization is explicitly turned off, don't run the always-inliner
either as the user almost certainly wants the raw bitcode as it is before it
hits the optimizers.  While there, add a missing addAnalysisPasses.


git-svn-id: https://llvm.org/svn/llvm-project/dragonegg/trunk@183431 91177308-0d34-0410-b5e6-96231b3b80d8
Don't bother trying to detect whether the always-inliner is needed or not, let
it do the detecting itself.


git-svn-id: https://llvm.org/svn/llvm-project/dragonegg/trunk@183496 91177308-0d34-0410-b5e6-96231b3b80d8
Add test with inline asm rejected by GCC but accepted by us because the asm
doesn't reach target codegen, having mean eliminated earlier.


git-svn-id: https://llvm.org/svn/llvm-project/dragonegg/trunk@183497 91177308-0d34-0410-b5e6-96231b3b80d8