Displaying 5 results from an estimated 5 matches for "origalign".
2009 Feb 19
3
[LLVMdev] Possible DAGCombiner or TargetData Bug
...resultant store does not need a higher alignment than the original.
if (Value.getOpcode() == ISD::BIT_CONVERT && !ST->isTruncatingStore() &&
ST->isUnindexed()) {
unsigned Align = ST->getAlignment();
MVT SVT = Value.getOperand(0).getValueType();
unsigned OrigAlign = TLI.getTargetData()->
getABITypeAlignment(SVT.getTypeForMVT());
if (Align <= OrigAlign &&
((!LegalOperations && !ST->isVolatile()) ||
TLI.isOperationLegalOrCustom(ISD::STORE, SVT)))
return DAG.getStore(Chain, N->getDebugLoc(), Value.get...
2009 Feb 19
0
[LLVMdev] Possible DAGCombiner or TargetData Bug
...cpp (working copy)
@@ -4903,9 +4903,9 @@
// resultant store does not need a higher alignment than the original.
if (Value.getOpcode() == ISD::BIT_CONVERT && !ST->isTruncatingStore() &&
ST->isUnindexed()) {
- unsigned Align = ST->getAlignment();
+ unsigned OrigAlign = ST->getAlignment();
MVT SVT = Value.getOperand(0).getValueType();
- unsigned OrigAlign = TLI.getTargetData()->
+ unsigned Align = TLI.getTargetData()->
getABITypeAlignment(SVT.getTypeForMVT());
if (Align <= OrigAlign &&
((!LegalOperations &&...
2009 Feb 20
2
[LLVMdev] Possible DAGCombiner or TargetData Bug
...03,9 +4903,9 @@
> // resultant store does not need a higher alignment than the original.
> if (Value.getOpcode() == ISD::BIT_CONVERT && !ST->isTruncatingStore() &&
> ST->isUnindexed()) {
> - unsigned Align = ST->getAlignment();
> + unsigned OrigAlign = ST->getAlignment();
> MVT SVT = Value.getOperand(0).getValueType();
> - unsigned OrigAlign = TLI.getTargetData()->
> + unsigned Align = TLI.getTargetData()->
> getABITypeAlignment(SVT.getTypeForMVT());
> if (Align <= OrigAlign &&
>...
2009 Feb 20
0
[LLVMdev] Possible DAGCombiner or TargetData Bug
...store does not need a higher alignment than the
>> original.
>> if (Value.getOpcode() == ISD::BIT_CONVERT && !ST-
>> >isTruncatingStore() &&
>> ST->isUnindexed()) {
>> - unsigned Align = ST->getAlignment();
>> + unsigned OrigAlign = ST->getAlignment();
>> MVT SVT = Value.getOperand(0).getValueType();
>> - unsigned OrigAlign = TLI.getTargetData()->
>> + unsigned Align = TLI.getTargetData()->
>> getABITypeAlignment(SVT.getTypeForMVT());
>> if (Align <= OrigAlign &am...
2013 Sep 25
1
[LLVMdev] arm64 / iOS support
Attached is a working patch set for llvm to be able to emit arm64
(currently as triple aarch64-apple-ios) mach-o object files, in case
someone is interested. I'm not sure if the llvm maintainers want the
patch given the previous message that there's going to be an official
patch set from apple to support this, but here is mine.
What works (tested on an iPhone 5S):
* objc strings,