File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -518,24 +518,6 @@ def classify_crash(self) -> FailureType:
518518 if backend_result == FailureType .BackEnd :
519519 return backend_result
520520
521- # Try running w/ -emit-llvm to generate an IR file,
522- # if it succeeds we have a backend failure, and can use llc.
523- if not self .check_expected_output (
524- args = self .clang_args + ["-emit-llvm" , "-o" , self .ir_file ]
525- ):
526- print ("Checking llc for failure" )
527- if self .check_expected_output (
528- cmd = self .llc ,
529- args = [self .opt_level , "-filetype=obj" ],
530- filename = self .ir_file ,
531- ):
532- print ("Found BackEnd Crash" )
533- return FailureType .BackEnd
534- elif os .path .exists (self .ir_file ):
535- # clean up the IR file if we generated it, but won't use it.
536- print (f"clean up { self .ir_file } , since we can't repro w/ llc" )
537- os .remove (self .ir_file )
538-
539521 # The IR file will be in 'self.ir_file'
540522 self .extract_crashing_ir ()
541523 return self .check_middle_end ()
You can’t perform that action at this time.
0 commit comments