aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/ModuloSchedule.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-05-07 12:28:31 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-05-07 13:16:36 +0100
commitb8a725274c227b715a49342c432534a6aa75d20d (patch)
tree9457382911e82d4c7570eee5e3fe0793aa38e7a5 /llvm/lib/CodeGen/ModuloSchedule.cpp
parent751da4d596ea0fdfd99eb000e988920e35c75a39 (diff)
downloadllvm-b8a725274c227b715a49342c432534a6aa75d20d.zip
llvm-b8a725274c227b715a49342c432534a6aa75d20d.tar.gz
llvm-b8a725274c227b715a49342c432534a6aa75d20d.tar.bz2
[X86][AVX] combineSignExtendInReg - promote mask arithmetic before v4i64 canonicalization
We rely on the combine (sext_in_reg (v4i64 a/sext (v4i32 x)), v4i1) -> (v4i64 sext (v4i32 sext_in_reg (v4i32 x, ExtraVT))) to avoid complex v4i64 ashr codegen, but doing so prevents v4i64 comparison mask promotion, so ensure we attempt to promote before canonicalizing the (hopefully now redundant sext_in_reg). Helps with the poor codegen in PR45808.
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions