Integrate LLVM at llvm/llvm-project@ef8de6 (#18004)
Advance to
https://github.com/llvm/llvm-project/commit/ef8de68faebee0226b4836e66574f225f724e768
* Still carrying a revert of
https://github.com/llvm/llvm-project/commit/fa0666876cdf11162af341911b99311a56be2274
* New revert of
https://github.com/llvm/llvm-project/commit/bbd4af5da2b741672a8e6f625eb12ea5c2d6220f
due to asserts/crashes during f64 to f32 demotion
* A patch like
https://github.com/ScottTodd/llvm-project/commit/f766cd2277a4a88e5fe683164df951441cdceda2
is being discussed to fix-forward
* Patch for ambiguous conversion in
https://github.com/llvm/llvm-project/commit/e3b30bc553775f29661eebc8e022efa4cad91610
* Also landed that patch upstream, for our next integrate:
https://github.com/llvm/llvm-project/commit/4f8050806e14d9f7791bfaa33681cacb1ac02549
* Local build fixes for
https://github.com/llvm/llvm-project/commit/ef8de68faebee0226b4836e66574f225f724e768
diff --git a/compiler/src/iree/compiler/Codegen/LLVMCPU/DispatchABI.cpp b/compiler/src/iree/compiler/Codegen/LLVMCPU/DispatchABI.cpp
index 2304a86..6c9af29 100644
--- a/compiler/src/iree/compiler/Codegen/LLVMCPU/DispatchABI.cpp
+++ b/compiler/src/iree/compiler/Codegen/LLVMCPU/DispatchABI.cpp
@@ -609,10 +609,10 @@
auto scopeAttr = getLocalScopeAttr(forOp);
builder.create<LLVM::DbgValueOp>(
loc, value,
- LLVM::DILocalVariableAttr::get(scopeAttr, builder.getStringAttr(name),
- scopeAttr.getFile(),
- /*line=*/1, /*arg=*/argNum + 1,
- /*alignInBits=*/0, type));
+ LLVM::DILocalVariableAttr::get(
+ scopeAttr, builder.getStringAttr(name), scopeAttr.getFile(),
+ /*line=*/1, /*arg=*/argNum + 1,
+ /*alignInBits=*/0, type, LLVM::DIFlags::Zero));
return value;
}
@@ -626,10 +626,10 @@
auto scopeAttr = getLocalScopeAttr(forOp);
builder.create<LLVM::DbgValueOp>(
loc, value,
- LLVM::DILocalVariableAttr::get(scopeAttr, builder.getStringAttr(name),
- scopeAttr.getFile(),
- /*line=*/1, /*arg=*/0,
- /*alignInBits=*/0, type));
+ LLVM::DILocalVariableAttr::get(
+ scopeAttr, builder.getStringAttr(name), scopeAttr.getFile(),
+ /*line=*/1, /*arg=*/0,
+ /*alignInBits=*/0, type, LLVM::DIFlags::Zero));
return value;
}
diff --git a/third_party/llvm-project b/third_party/llvm-project
index c6ff6d7..e162ef8 160000
--- a/third_party/llvm-project
+++ b/third_party/llvm-project
@@ -1 +1 @@
-Subproject commit c6ff6d78618a5709d518d5f7f2a59ec62273fd10
+Subproject commit e162ef8b32b35dea992d21a009c07050b57183fa