[all-commits] [llvm/llvm-project] 1f6760: [FuzzMutate] Correct type cast and add unit test f...
Zhenkai Weng via All-commits
all-commits at lists.llvm.org
Tue Apr 25 17:29:13 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1f67602222cc8668151f1e5d66cb99524f6dc236
https://github.com/llvm/llvm-project/commit/1f67602222cc8668151f1e5d66cb99524f6dc236
Author: Zhenkai Weng <theoaktree1040 at gmail.com>
Date: 2023-04-25 (Tue, 25 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