aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2022-04-18 15:03:10 -0400
committerSanjay Patel <spatel@rotateright.com>2022-04-18 15:14:02 -0400
commit3a27b51b2751dba1b3fbef68d647833ab65aa45b (patch)
tree1d07590996a775e57542f5f555a5def6be8c8451 /llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
parent60de144119abc5848d4fae2f502e05ffae90a970 (diff)
downloadllvm-3a27b51b2751dba1b3fbef68d647833ab65aa45b.zip
llvm-3a27b51b2751dba1b3fbef68d647833ab65aa45b.tar.gz
llvm-3a27b51b2751dba1b3fbef68d647833ab65aa45b.tar.bz2
[InstCombine] reduce code for freeze of undef
The description was ambiguous about the behavior when boths select arms are constant or both arms are not constant. I don't think there's any evidence to support either way, but this matches the code with a more specified description. We can extend this to deal with vector constants with undef/poison elements. Currently, those don't get folded anywhere.
Diffstat (limited to 'llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp')
0 files changed, 0 insertions, 0 deletions