aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJessica Paquette <jpaquette@apple.com>2022-10-01 13:36:39 -0700
committerJessica Paquette <jpaquette@apple.com>2022-10-01 13:48:55 -0700
commit24553df57dcc7bb2567697d8697b37ffbbac0bac (patch)
tree4d58dfff85d8473d032097cd36bdbac126b0947a /flang/lib/Frontend/CompilerInvocation.cpp
parent3b0df701b0d95612e5da3544e2361808b78a6015 (diff)
downloadllvm-24553df57dcc7bb2567697d8697b37ffbbac0bac.zip
llvm-24553df57dcc7bb2567697d8697b37ffbbac0bac.tar.gz
llvm-24553df57dcc7bb2567697d8697b37ffbbac0bac.tar.bz2
[GlobalISel] Combine `undef / X -> 0` and `undef % X -> 0`
This fixes the `urem_undef_lhs` case in the following: https://gcc.godbolt.org/z/Wo9x7o679 Also see https://github.com/llvm/llvm-project/issues/57256 for more related bugs. This is equivalent to the undef bits in `simplifyDivRem` in the DAGCombiner. Differential Revision: https://reviews.llvm.org/D135020
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions