If the store is volatile this might be a memory mapped IO access. In that case we shouldn't generate a load that didn't exist in the source
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Target/X86/X86InstrCompiler.td | ||
---|---|---|
1046 ↗ | (On Diff #159088) | Is there any place more generic we can put this? It doesn't seem x86 specific |
lib/Target/X86/X86InstrCompiler.td | ||
---|---|---|
1046 ↗ | (On Diff #159088) | It should probably be hoisted to include/llvm/Target/TargetSelectionDAG.td. SystemZ has this already with this name so we'd have to change that too. Do you want me move it and change SystemZ as a pre-patch. Or do you want it folded in here? Or move SystemZ as a followup? |
Comment Actions
LGTM - probably worth committing the new tests with current codegen as a pre-commit.
lib/Target/X86/X86InstrCompiler.td | ||
---|---|---|
1046 ↗ | (On Diff #159088) | Leaving it here and doing the X86/SystemZ merge into TargetSelectionDAG.td as a followup is fine by me. |