Skip to content
Commit 691363e7 authored by Benjamin Kramer's avatar Benjamin Kramer
Browse files

SimplifyLibCalls: Add basic optimization of memchr calls.

This is just memchr(x, y, 0) -> nullptr and constant folding.

llvm-svn: 232896
parent 0248a3e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment