This has the potential to create less-than-8-bit scalar types as shown in some of the test diffs, but it looks like the backend knows how to deal with that in these patterns.
This is the simple part of the fix suggested in:
https://bugs.llvm.org/show_bug.cgi?id=39927
Details
Details
Diff Detail
Diff Detail
Event Timeline
lib/Transforms/InstCombine/InstCombineCalls.cpp | ||
---|---|---|
774–789 | Should we have a comment here that describes what we're trying to do before we start talking about peeking through a bitcast. At first glance this looks like the comment for the whole block, but its really not. |
lib/Transforms/InstCombine/InstCombineCalls.cpp | ||
---|---|---|
774–789 | Yeah, that's upside-down. Will fix. |
Should we have a comment here that describes what we're trying to do before we start talking about peeking through a bitcast. At first glance this looks like the comment for the whole block, but its really not.