aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/OptimizedStructLayout.cpp
diff options
context:
space:
mode:
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>2020-04-09 13:53:02 -0500
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>2020-04-09 19:27:32 -0500
commit5fe2809447398dd53ef6179e8c551356600296fc (patch)
tree148fee2637fd189455b4871f5478046132e3f219 /llvm/lib/Support/OptimizedStructLayout.cpp
parente99169f1c2fc4f30b35dbb0caac41b9daa10da2f (diff)
downloadllvm-5fe2809447398dd53ef6179e8c551356600296fc.zip
llvm-5fe2809447398dd53ef6179e8c551356600296fc.tar.gz
llvm-5fe2809447398dd53ef6179e8c551356600296fc.tar.bz2
[PowerPC] Don't assert on SELECT_CC with i1 type
When we try to select a SELECT_CC on Power9, we check if it can be matched to a SETB instruction. In that function, we assert that the output type is i32/i64. This is unnecessary as it is perfectly reasonable to have an i1 SELECT_CC. Change that from an assert to an early exit condition. Fixes: https://bugs.llvm.org/show_bug.cgi?id=45448
Diffstat (limited to 'llvm/lib/Support/OptimizedStructLayout.cpp')
0 files changed, 0 insertions, 0 deletions