summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>2017-06-23 14:30:46 +0000
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>2017-06-23 14:30:46 +0000
commit82f15a71688c9a04217ae56121bde0e13b85b745 (patch)
tree11c00561faf1e891396397298e23e683c04c2a32 /clang/lib/Frontend/CompilerInvocation.cpp
parent91eed9ac1ac15c0a19cc85c03b210b413d2e798e (diff)
downloadbcm5719-llvm-82f15a71688c9a04217ae56121bde0e13b85b745.tar.gz
bcm5719-llvm-82f15a71688c9a04217ae56121bde0e13b85b745.zip
[SystemZ] Fix trap issue and enable expensive checks.
The isBarrier/isTerminator flags have been removed from the SystemZ trap instructions, so that tests do not fail with EXPENSIVE_CHECKS. This was just an issue at -O0 and did not affect code output on benchmarks. (Like Eli pointed out: "targets are split over whether they consider their "trap" a terminator; x86, AArch64, and NVPTX don't, but ARM, MIPS, PPC, and SystemZ do. We should probably try to be consistent here.". This is still the case, although SystemZ has switched sides). SystemZ now returns true in isMachineVerifierClean() :-) These Generic tests have been modified so that they can be run with or without EXPENSIVE_CHECKS: CodeGen/Generic/llc-start-stop.ll and CodeGen/Generic/print-machineinstrs.ll Review: Ulrich Weigand, Simon Pilgrim, Eli Friedman https://bugs.llvm.org/show_bug.cgi?id=33047 https://reviews.llvm.org/D34143 llvm-svn: 306106
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud