diff options
| author | Marek Olsak <marek.olsak@amd.com> | 2018-05-15 21:41:55 +0000 |
|---|---|---|
| committer | Marek Olsak <marek.olsak@amd.com> | 2018-05-15 21:41:55 +0000 |
| commit | 3c5fd145c5f6fc2ee570e9c329700f8a9960eae0 (patch) | |
| tree | 3e561416617f0dcf327280d0436c6d55ee2f3600 /llvm/utils/lit/tests | |
| parent | 091fed94ae701005ccfde290713c4908e25008d4 (diff) | |
| download | llvm-3c5fd145c5f6fc2ee570e9c329700f8a9960eae0.zip llvm-3c5fd145c5f6fc2ee570e9c329700f8a9960eae0.tar.gz llvm-3c5fd145c5f6fc2ee570e9c329700f8a9960eae0.tar.bz2 | |
StructurizeCFG: fix inverting conditions
Author: Samuel Pitoiset
Without this patch, it appears to me that we are selecting
the wrong operand when inverting conditions. In the attached
test, it will select %tmp3 instead of %tmp4. To fix it, just
use 'A' as everywhere.
This fixes a regression introduced by
"[PatternMatch] define m_Not using m_Xor and cst_pred_ty"
https://reviews.llvm.org/D46351
llvm-svn: 332403
Diffstat (limited to 'llvm/utils/lit/tests')
0 files changed, 0 insertions, 0 deletions
