Skip to content
Commit 2c401806 authored by Craig Topper's avatar Craig Topper
Browse files

[PatternMatch] Implement m_One and m_AllOnes using...

[PatternMatch] Implement m_One and m_AllOnes using Constant::isOneValue/isAllOnesValue instead of doing our own splat detection and checking the resulting APInt.

Should result in less compiled code.

llvm-svn: 307431
parent 45f53414
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