[all-commits] [llvm/llvm-project] 1a3f15: [FuzzMutate] Correct type cast and add unit test f...
Peter Rong via All-commits
all-commits at lists.llvm.org
Fri Apr 21 16:37:49 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1a3f158add6099914f943ac87fb3b0b8738f8ec8
https://github.com/llvm/llvm-project/commit/1a3f158add6099914f943ac87fb3b0b8738f8ec8
Author: Peter Rong <PeterRong96 at gmail.com>
Date: 2023-04-21 (Fri, 21 Apr 2023)
Changed paths:
M llvm/lib/FuzzMutate/IRMutator.cpp
M llvm/unittests/FuzzMutate/StrategiesTest.cpp
Log Message:
-----------
[FuzzMutate] Correct type cast and add unit test for FCmp
This revision fixes an incorrect type cast from Instruction to ICmpInstr, which should have been to FCmpInstr instead. It turns out that StrategiesTest.cpp was missing a test case for InstModificationIRStrategy and FCmp, which is also now implemented in this revision. After this revision, [[ https://reviews.llvm.org/D148854 | llvm-stress in D148854 ]] no longer crashes randomly.
Reviewed By: Peter
Differential Revision: https://reviews.llvm.org/D148972
More information about the All-commits
mailing list