aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/BackendUtil.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2023-01-07 17:38:17 -0500
committerMatt Arsenault <Matthew.Arsenault@amd.com>2023-01-13 20:30:30 -0500
commite70ae0f46bd5553f0702c5d1e30c5dd6f45a8c01 (patch)
treef1faa9cc63c54cd6452dc31db3703f2f0ec788cb /clang/lib/CodeGen/BackendUtil.cpp
parent64ce15a1361d618ed89f306a252e0c4f2da64164 (diff)
downloadllvm-e70ae0f46bd5553f0702c5d1e30c5dd6f45a8c01.zip
llvm-e70ae0f46bd5553f0702c5d1e30c5dd6f45a8c01.tar.gz
llvm-e70ae0f46bd5553f0702c5d1e30c5dd6f45a8c01.tar.bz2
DAG/GlobalISel: Fix broken/redundant setting of MODereferenceable
This was incorrectly setting dereferenceable on unaligned operands. getLoadMemOperandFlags does the alignment dereferenceabilty check without alignment, and then both paths went on to check isDereferenceableAndAlignedPointer. Make getLoadMemOperandFlags check isDereferenceableAndAlignedPointer, and remove the second call.
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
0 files changed, 0 insertions, 0 deletions