1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/lib/AsmParser
Qiu Chaofan 71cc6e9751 [LLParser] Delete temp CallInst when error occurs
Only functions with floating-point return type accepts fast-math flags.
When adding such flags to function returning integer, we'll see a crash,
because there's still an undeleted value referencing the argument. This
patch manually removes the temporary instruction when error occurs.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D78355
2020-06-16 11:41:25 +08:00
..
CMakeLists.txt
LLLexer.cpp [StackSafety] Add info into function summary 2020-06-10 02:43:28 -07:00
LLLexer.h
LLParser.cpp [LLParser] Delete temp CallInst when error occurs 2020-06-16 11:41:25 +08:00
LLParser.h [StackSafety] Add info into function summary 2020-06-10 02:43:28 -07:00
LLToken.h [StackSafety] Add info into function summary 2020-06-10 02:43:28 -07:00
LLVMBuild.txt
Parser.cpp Infer alignment of unmarked loads in IR/bitcode parsing. 2020-05-14 13:03:50 -07:00