diff options
author | Noah Goldstein <goldstein.w.n@gmail.com> | 2023-08-24 14:21:50 -0500 |
---|---|---|
committer | Noah Goldstein <goldstein.w.n@gmail.com> | 2023-08-24 19:43:10 -0500 |
commit | 397a9cc4d875712a648271ecbac05ac6382c5708 (patch) | |
tree | eff98ebbff047aea6df90c6c1d16f06ee4649668 /llvm/lib/CodeGen/MachineTraceMetrics.cpp | |
parent | 1896096002b75b50d46ee0043c20e90c7e27604a (diff) | |
download | llvm-397a9cc4d875712a648271ecbac05ac6382c5708.zip llvm-397a9cc4d875712a648271ecbac05ac6382c5708.tar.gz llvm-397a9cc4d875712a648271ecbac05ac6382c5708.tar.bz2 |
Recommit "[InstCombine] Expand `foldSelectICmpAndOr` -> `foldSelectICmpAndBinOp` to work for more binops" (2nd Try)
Was missing a nullptr check before derefencing. Fixed + test case
included in the patch.
Re-Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D148414
Diffstat (limited to 'llvm/lib/CodeGen/MachineTraceMetrics.cpp')
0 files changed, 0 insertions, 0 deletions