diff options
author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2015-06-25 11:52:36 +0000 |
---|---|---|
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2015-06-25 11:52:36 +0000 |
commit | 77884bcb5d8b9e4ada1399e4603d03d03a160727 (patch) | |
tree | 3baeacf458298225d3276702188686bdf75b1ecd /llvm/lib/Analysis/Loads.cpp | |
parent | b89a69dac67d81b36a5444eb0df63b1be691eeb0 (diff) | |
download | bcm5719-llvm-77884bcb5d8b9e4ada1399e4603d03d03a160727.tar.gz bcm5719-llvm-77884bcb5d8b9e4ada1399e4603d03d03a160727.zip |
[SystemZ] Only attempt RxSBG optimization for integer types
As pointed out by Justin Bogner (see r240520), SystemZDAGToDAGISel::Select
currently attempts to convert boolean operations into RxSBG even on some
non-integer types (in particular, vector types). This would not work in
any case, and it happened to trigger undefined behaviour in allOnes.
This patch verifies that we have a (<= 64-bit) integer type before
attempting to perform this optimization.
llvm-svn: 240634
Diffstat (limited to 'llvm/lib/Analysis/Loads.cpp')
0 files changed, 0 insertions, 0 deletions