aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2022-07-20 10:48:11 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2022-07-20 10:49:31 +0100
commit9fc347aa4e819d43c87e43ae4a6388a58d387b20 (patch)
tree3e27c32e68abceeb2d25ef10ea58422c102a61c8 /flang/lib/Frontend/CompilerInvocation.cpp
parent439668871ac992159f00309d3bd837db287bdea6 (diff)
downloadllvm-9fc347aa4e819d43c87e43ae4a6388a58d387b20.zip
llvm-9fc347aa4e819d43c87e43ae4a6388a58d387b20.tar.gz
llvm-9fc347aa4e819d43c87e43ae4a6388a58d387b20.tar.bz2
[DAG] PromoteIntRes_BUILD_VECTOR - extend constant boolean vectors according to target BooleanContents
PromoteIntRes_BUILD_VECTOR currently always ANY_EXTENDs build vector operands, but if this is a constant boolean vector we're losing the useful ability to keep the vector matching the BooleanContents mode used by the target. This patch extends constant boolean vectors according to target BooleanContents, allowing a number of additional all-bits folds (notable XOR -> NOT conversions) to occur. Differential Revision: https://reviews.llvm.org/D129641
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions