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

InstCombine: Turn _chk functions into the "unsafe" variant if length and max langth are equal.

This happens when we take the (non-constant) length from a malloc.

llvm-svn: 122961
parent 605f21a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment