Skip to content
Commit 11350aaf authored by Nadav Rotem's avatar Nadav Rotem
Browse files

Fix a bug that was found by building clang with -fsanitize.

I introduced it in r166785. PR14291.

If TD is unavailable use getScalarSizeInBits, but don't optimize
pointers or vectors of pointers.

llvm-svn: 170586
parent 0fbf321a
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